DebbieDavis
Programmer
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
%>
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
%>