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});
In reply to Re: copy files on sftp to local dir and delete copied file
by choroba
in thread copy files on sftp to local dir and delete copied file
by mariog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |