Rename without read permissions - WeOnlyDo Discussion board

Rename without read permissions (wodSFTP / wodSFTP.NET / wodSFTPdll)

by ashoemaker, Tuesday, March 27, 2007, 17:44 (6451 days ago)

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?


Complete thread: