PutFile Permission Denied (wodSFTP / wodSFTP.NET / wodSFTPdll)

by DNixon, (4062 days ago)

We have been using wodSFTP for years transferring files to many different customer systems. However, we have a new customer and we are getting a Permission Denied error on a PutFile blocking call and the file is not transferred. Using the Bitvise SSH client we also get a permission denied error, but the file is transferred.

In researching the problem it looks like it is common to perform a setstat on the remote file following a file put. This customer does not allow the following sftp commands: setstat, fsetstat, readlink, symlink, or extended.

I have seen that other libraries allow you to disable the setstat on a file put to work around this problem.

locked

Complete thread: