My hosted scripts have been moved and no longer work.
The specified CGI application
misbehaved by not returning a complete
set of HTTP headers.
I notice that someone at my host company has modified my scripts so that where I used to have
use lib 'd:/myorig/LIB';
I now have
use lib '//newhost/LIB';
Should this work?
I tri...
At work we have a bunch of sites hosted on our development server. The folder containing all these sites is mapped as a network drive.
In VisualStudio I open the root of the site as a WebSite and when I build the site I alwys get this error.
Error 4 An error occurred loading a configuration file: Failed to start monitoring changes t...
Using Java (1.4) is there a way in which to use Windows UNC file locations (\\servername\filestore\etc) within the classpath?
...
We are building an application that will be storing a lot of images. We have a virtualized environment at GoGrid.com and we were hoping to utilize their cloud storage.
Not sure exactly how to word this, but if we (in our code) specify the unc path and creds to place or retrieve an image, that seems terribly inefficient (connect, get im...
Hello,
Here is my program:
I'm uploading an image(Stream, FileInfo or whatever you like) to a server at this virtual directory: "C:\_Resources\Assets"
But then, I want the server to return the UNC path of that image to display it in an tag, that is to say "http://localhost/Trunk/Assets/image.jpeg"
In fact, I'm trying to do the opposi...
Hi all,
I'm having a problem with setting long unc path as the target of a shortcut file on Windows 2008. The particular code is like:
IShellLinkW* link =...
link->SetPath(filename);
We then pass a long UNC path, in the form of "\?\UNC..." in as filename. This call works when we do it on Windows 2003. But on Windows 2008, the calls f...
Hey,
I'm looking for a nice tight regex solution to this problem. I'm looking to reformat an UNC into a Uri
Problem:
UNC directory needs to be reformatted into a Uri
\\server\d$\x\y\z\AAA
needs to look like:
http://server/z/AAA
...
I screwed up my last post. Lets see if I can get this one right..
Would anyone be able to tell me how to pull the server name out of a UNC? (I'm looking for a regex)
this is the string I want to pull the servername from:
**\\\servername\d$\directory**
My Code is in C#
Regex r = new Regex(?????, RegexOptions.IgnoreCase);
Match m =...
(Assuming the network folders/permissions are correctly set up and working in Windows, and a 'default' PHP setup...)
Is it possible to use UNC network paths [like \\ServerName\Folder\file.txt] in PHP's functions like file_get_contents(), fopen(), etc?
And/or, what special cases allow/disallow this?
...
We are trying to lock down a Terminal Server, and want to remove a commercial package's ability to accept UNC file paths, ie. paths in the app can then only be entered using the windows drive letters.
Is there any way to do this in Windows?
Can we disallow UNC paths for just the app?
Can we disallow UNC paths for the entire Terminal S...
We have several applications that generate their own PCL and Postscript via C#. When it comes to print we've traditionally allowed for multiple outputs such as IP (LPR or RAW 9100) or local printer using:
How to send raw data to a printer by using Visual C# .NET
We also send via UNC (\\server\printer_share). The problem with the last...
If I want to instantiate a DirectoryInfo object with an UNC path
DirectoryInfo myDI = new DirectoryInfo (@"\\server\share");
how can I pass a username / password that is required to access that share?
Thanks
...
Just a basic html link question.
I have an intranet setup, and I need to link to some network drives. They are located on drives such as \server_drive\blahblah\doc.docx
Using file:// does not work on either IE8 or Firefox. How can I link to these files?
...
In Delphi there is a function ExpandUNCFileName that takes in a filename and converts it into the UNC equivalent. It expands mapped drives and skips local and already expanded locations.
Samples
C:\Folder\Text.txt -> C:\Folder\Text.txt
L:\Folder\Sample.txt -> \\server\Folder1\Folder\Sample.txt Where L: is mapped to \\server\Folder1\
\...
I have an Java application for copying large amounts of data from users' workstations to a server. The java.io.File class is supposed to work with UNC paths very well and in fact it does but only when I run the app in standard execution model.
When the application is launched via Web Start I get a FileNotFoundException when trying to op...
When I access file whith UNC file path from asp.net, I found the following problem. Logon failure: unknown user name or bad password. Pls help me.
...
var directory = new DirectoryInfo(
"\image0\Abc"
);
if (!directory.Exists)
{
directory.Create();
}
when I user above asp.net code which unc path, I found the following problem.
How can I solve?
Access to the path '\Image0\Abc' is denied.
Regards,
atk
...
I have an application that is run over a network. I need to be able to run this application from a batch file, and had ended up using this:
pushd \\server\folder
start /wait program.exe
Aside from the message saying...
\\server\folder
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Def...
I have a .NET client app that intermittently loses connection to a UNC share where the user is either on a domain or has a local account with the same credentials on the server. Both SO and Google have plenty of examples using LogonUser and WNetAddConnection via P-Invoke, but both require the user's password. All our app needs to do is ...
Hi,
I have a UNC folder added in my machine using "Add Network Places" option in "My Network Places" (XP).
I need to select the specific unc folder through my C# "folderBrowser Dialogue."
However,as unc path is password protected. While selecting the same,how can I prompt for userCredentials. can anyone have thoughts on this...
...