Questions tagged [unc]

A UNC path unambiguously specifies the location of a volume, directory, file or other local or remote resource on Windows.

On Windows, a UNC path specifies the location of a local or remote resource, including files, directories, volumes and more. UNC path generalize traditional file paths. A UNC path has the form \\Hostname\Folder\Resource. A UNCW path (long UNC) has the form \\?\UNC\Hostname\Folder\Resource.

593 questions
0
votes
0 answers

Unable to access files from UNC path in ASP.MVC aplpication hosted in IIS7

I'm downloading files from UNC path it is working fine on local host but when hosted on IIS 7 it gives me following error: My Action in MVC that returns file is: [ValidateInput(false)] public FileResult GetFile() { …
Sundar Singh
  • 654
  • 5
  • 15
0
votes
0 answers

PHP on IIS is_readable() over unc path

I'm working on an IIS server environment with php and having issues getting proper responses from is_readable() over a unc path. I've checked that the file is valid and accessible to the IUSR_*** that exists with the same password on the file share…
vfssean
  • 1
  • 1
0
votes
5 answers

How do I access database via virtual folder which points at a remote share

I'm having a problem getting access to a database which lives on a remote server. I have a ASP.NET 2.0 webpage that is trying to connect to a database. The database is accessed via a virtual folder (which I set up in IIS). The virtual folder…
Dhaust
  • 5,470
  • 9
  • 54
  • 80
0
votes
2 answers

error using UNC name in IIS

I have an IIS web site that reads files, some on the same server and some on other servers, using UNC names. This has been running on one of our servers for years and works fine. Now that server is being decommissioned so I need to move the app to a…
Jay
  • 26,876
  • 10
  • 61
  • 112
0
votes
1 answer

Regex: split to the last occurence of path

I want to split up an UNC-path for hostname, shared folder, path, filename and extension. I almost got it, but the last sequence is somehow wrong because I didn't get the filenaem correctly. e.g. //host/shared/path1/path2/path3/filename.pdf should…
mbed_dev
  • 1,450
  • 16
  • 33
0
votes
0 answers

File.Copy failing silently when run as service

I have a service which copies an Excel spread sheet from a network share to a local folder. The service runs under an account which has admin rights on both the remote and local machine. When running the service from the command line as the service…
Tom
  • 679
  • 1
  • 6
  • 15
0
votes
1 answer

Sending a file through FTP to a share-drive (UNC)

I have a particular file which needs to be sent to a share drive location through FTP. I know there is a method by writing contents on a flat file and executing with shell script. Sadly that is not working since my send location is weird and I don't…
Anarach
  • 440
  • 2
  • 16
  • 35
0
votes
1 answer

UNC path construction on Linux

I've got a function that uses path.join to construct a UNC path for use by another (Windows) system (the Node.js application does not need access to it, it just needs to construct the path correctly): function constructUncPath (fileName,…
blah238
  • 1,796
  • 2
  • 18
  • 51
0
votes
1 answer

IPython from Ubuntu to Windows UNC Path

I'm using IPython 3.4 via Anaconda on Windows 10 (yes, I know). I took a script that I wrote in the same version of IPython in Ubuntu on my virtual machine and tried running it on the Windows side. I've been trying to resolve the issue with "/"…
Dance Party
  • 3,459
  • 10
  • 42
  • 67
0
votes
0 answers

Passing authentication credentials with cffile

Here's the situation: A CF application needs to upload/write files to locations on different servers. The servers are owned by customers who need to give the application permission to upload/read/update files to them. To prevent a security leak,…
volume one
  • 6,800
  • 13
  • 67
  • 146
0
votes
1 answer

How do I convert a UNC path back to an absolute local path on the remote PC?

I need a method of converting a UNC path into a local path on the remote PC. So, for example, I could have a UNC path "\\PC2\SharedFolder\Foo\Bar.exe", which points to "C:\SomeFolder\Foo\Bar.exe" on PC2; the latter is what I want to return (I want…
Lee.J.Baxter
  • 495
  • 4
  • 12
0
votes
1 answer

Mac Automator service: Copy link and not only text

I'm trying to create an Automator service that will parse Windows UNC links and open them properly in Finder, by converting the links to SMB links. The service typically gets its input from a mail client (Mail / Outlook) or a document (Word / Pages…
Guy
  • 1
  • 2
0
votes
1 answer

PowerShell Copy-Item to remote - custom port

I want to copy some file from local computer to remote in a standard way: Copy-Item -Path C:\some_path\test.txt -Destination \\server\c$\some_other_path\test.txt Unfortunately i have to specify custom port due to routing on server. I am pretty new…
Seblis
  • 339
  • 4
  • 17
0
votes
1 answer

Network Drive Letter or UNC Path for file path

I am providing application support for a legacy VisualFoxPro application. The users of the application seem to have problem running a report. The report runs a comparison between data from the database ( MS SQL SERVER) and local file (xxPAY.dbf) and…
0
votes
0 answers

Visual studio XML comments. UNC path to document instead of http link to webpage

When commenting my code, I know that I can link to a webpage like this: /// But is it possible to reference an excel document (for example) on a samba share? ie.: ///
Quantum_Kernel
  • 303
  • 1
  • 7
  • 19