Re: Prevent access to file until upload complete
If you can wait couple days, 5.0.8 with Session.RenameFile will be out.
Or you can use Session.ExecuteCommand to execute protocol-specific command to rename the file.
Thanks for the update, I've got a few days before the program needs to go to user testing so I'll wait and hope to include it in the production version.
What I have done for the moment is to use the following, which is working OK with our FTP server
session.ExecuteCommand("RNFR /folder/Filename.txt.tmp")
session.ExecuteCommand("RNTO /folder/FileName.txt")
GNich