in reply to copy files on sftp to local dir and delete copied file
but they always complain that my localdir is a directoryJust guessing: so try to give them a file path?
$sftp->get($file->{filename}, LOCAL_DIR . '/' . $file->{filename});
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: copy files on sftp to local dir and delete copied file
by salva (Canon) on Sep 24, 2015 at 12:02 UTC | |
|
Re^2: copy files on sftp to local dir and delete copied file
by mariog (Acolyte) on Sep 24, 2015 at 13:13 UTC | |
by MidLifeXis (Monsignor) on Sep 24, 2015 at 13:22 UTC |