Rename without read permissions (wodSFTP / wodSFTP.NET / wodSFTPdll)
We have an application that uses wodSFTP to upload files to a server and to then rename the files after they are uploaded.
In one case, the logged in user will not have read permissions on the files just uploaded. To my understanding, that should not be a problem with the rename, so long as the user has read and write permissions to the directory where the files are placed. In fact, this works fine if the steps are done manually with a client program such as WS_FTP. However, trying to do the rename through the wodSFTP library returns an error that the file cannot be found.
Suggestions?
Re: Rename without read permissions
Hi,
What version of wodSFTP are you using?
Are you sure that you are using the correct remotepath when calling the Rename Method? You need to use full path to the file on the server.
Also, what server type/vendor are you using?
Regards,
Damba