var fs = new ActiveXObject("Scripting.FileSystemObject");
Client.Send(214, "EXCEPTION: " + e.name + ": " + e.message + ": " + e.number + ": " + e.description);
This is an oversimplified version of the code, but basically I'm receiving files that are to be moved elsewhere to be processed by a custom application. This worked well under 3.4.
I upgraded to 3.5 this morning, and now when I upload a file, I get an exception on "fs.MoveFile":
The FTP server is running under the same account as before, and the account has full controls on both the directory where the file was uploaded and the directory where the file is to be copied.
I explored a bit, and if I replace the "fs.MoveFile" command with this:
Then the copy occurs, but the delete fails with the same exception as before.
I've been checking and double-checking all permissions-related settings, even configured the service to run under the local administrators group, to no avail.
Was something changed in the server?
At this point I'm thinking it might be that the server now keeps the uploaded file locked until the scripts have finished running, therefore I can't move or delete it?