in reply to Net::SFTP::Foreign setstat Error on Put

Couldn't setstat remote file (setstat)': File not found

setstat is called to replicate attributes of the local file on the remote side, after having copied the file.  As you're getting "File not found" as the failure reason, I suspect the file might not have been created in the first place — perhaps due to a permission problem?

You could try disabling setstat as described in the manual, to see if this really is the problem (in which case you still wouldn't succeed copying the file, but probably be getting a different error), or if the problem is somehow with the setstat method itself.

Replies are listed 'Best First'.
Re^2: Net::SFTP::Foreign setstat Error on Put
by csftpteam (Novice) on Dec 16, 2011 at 22:29 UTC
    Thanks Eliya! That worked!