in reply to fsetstat no such file
Do you know which SFTP server software is being used at the remote side?
Once the file contents have been transferred, Net::SFTP calls fsetstat in order to also replicate the metadata (permissions and timestamps). But sometimes custom server software does funny things. The truth is that a "No such file or directory" is not an usual error in that context.
You can try also using Net::SFTP::Foreign instead of Net::SFTP, besides being a more feature rich client module, it also offers better debugging.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: fsetstat no such file
by dkellyhsu (Initiate) on Feb 28, 2012 at 20:38 UTC | |
by JavaFan (Canon) on Feb 28, 2012 at 21:21 UTC | |
by salva (Canon) on Feb 28, 2012 at 21:54 UTC | |
by dkellyhsu (Initiate) on Feb 29, 2012 at 16:48 UTC |
In Section
Seekers of Perl Wisdom