Dim f As New IO.FileInfo(FileFullPath) Return f.Exists [Gives false for file on a network)
Posted on 2004-04-22
I am doing:
Dim f As New IO.FileInfo(FileFullPath)
FileFullPath = "\\COMPUTER_NAME\FOLDER\FILENAME.PDF"
Which lets says exists on my network, I am getting f.Exists as false, although the machine I am running this on can open that file if I go to Start > Run. Is this a permissions thing? Do I need the ASP.Net account on this machine to have read access to the files on that server?
Any help much appreciated.