Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Another file copy issue

Status
Not open for further replies.

DebbieDavis

Programmer
Jun 7, 2002
146
US
Greetings,

I can log into the server (even remotely), run the asp page and make the following test code work, but if I log onto a workstation and run the same asp page, I don't get an error, but the file copy doesn't work. I have anonymous turned off because I record LOGON_USER as the clerk when the user processes orders. Why would this work running directly from the server but not from a workstation? I have read/write/modify for everyone. I've even tried full control. Thanks for your thoughts.

<%
dim fs,f
set fs=Server.CreateObject("Scripting.FileSystemObject")
set f=fs.GetFile("\\mainserver\test.txt")
f.Copy "\\webserver\new_test.txt",true
set f=nothing
set fs=nothing
%>


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top