Connecting Tech Pros Worldwide Forums | Help | Site Map

Filecopy from Server Error "File Not Found"

Beryl Small
Guest
 
Posts: n/a
#1: Jul 21 '05
I have a web application in Visual Studio.Net 2003. On the click event of a button on my .aspx page, I use the following

FileCopy SourceFile, DestinationFil

the Sourcefile is on a mapped drive (s:\) on the server it returns the error "File not found" even though the file is there. The same code in the same place works fine if the file is on the c:\ drive. Same code also works fine with the mapped server drive in .NET if a put it in a Windows application instead of a Web application. Anyone know what the problem is here in my web application?

Newbie
 
Join Date: Mar 2006
Posts: 1
#2: Mar 23 '06

re: Filecopy from Server Error "File Not Found"


I am having the same problem with an application our team has taken over. The application copies documents from one shared drive to another. This fails at the filecopy command on our network, but works fine on their old network. I have made sure they permission settings are the same for the shared folders (at present 'everyone' has modify rights). I can get the app to work locally on the C:\ drive and can copy from the shared drive to the local drive. I just cant get it to copy from Network drive to Network drive. It doesnt make sense as the permissions on those folders are the same.

Any help will be very much appreciated. oh the error number i get is 76 which refers to path not found type errors and the app is compiled in VB6.

Please help as its urgent.

Thanks
Closed Thread


Similar .NET Framework bytes