cutechat:
Ariel
CopyTo may take a long time and the ASP.NET page will timeout.
Please try MoveTo , or set the Server.ScriptTimeout to a larger value.
Regards,
Terry
Terry,
I tried using the MoveTo method and recieved the same error.
Then I changed the Server.ScriptTimeout to a larger value and got no error, but the file had not been moved.
What about avoiding the temp folder to be deleted. Is it possible?
Thanks,
Ariel