| [reply] |
To be clear: when you say 'server' - do you mean the box where the files are being moved / renamed or where the commands are originating from?
Also - why would the 'remove' command report success when it wasn't successful?
| [reply] |
when you say 'server' - do you mean the box where the files are being moved
Yes!
Also - why would the 'remove' command report success when it wasn't successful?
I have no idea, I can not see any error on the module code.
I have just uploaded a new version of the module to CPAN that supports better debugging. Can you install that version, add...
$Net::SFTP::Foreign::debug = 25;
at the beginning of your script, reproduce the problem and send me the debugging output for that execution (and the script, of course!)
| [reply] [d/l] |
If the remote boxes are some kind of Unix, you can delete (ie unlink) a file, but if it is still/held open by another (prob local ie on remote box) process, it will still actually 'exist' until the other process closes it.
Cheers
Chris | [reply] |