I need to access a.network folder in
\\p3clfs\xyz\test.tiff
Then:
String image = @"\\p3clfs\xyz\test.tiff";
MyClass.OpenUrl(image)
Error: c:\.netpub\wwwroot\p3clfs\xyz\ does not exist!
How can I open the URL without "c:\.netpub\wwwroot\"?
If you need to open a.network path (so, something based on the file system,) as a URL, your string needs to be something like this:
String image = @"file://p3clfs/xyz/test.tiff";
Actually the solution was to create a virtual directory in IIS.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.