in reply to Net::SFTP::Foreign getting files
As a workaround, use setcwd to let the module compose paths for you.
Also, mget second argument must point to a directory.
$sftp->setcwd($ai_dir); $sftp->mget($file, $ai_dest_day) or $newerr=1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::SFTP::Foreign getting files
by kofs79 (Initiate) on Apr 11, 2013 at 14:01 UTC | |
by salva (Canon) on Apr 11, 2013 at 14:14 UTC | |
by kofs79 (Initiate) on Apr 11, 2013 at 14:47 UTC | |
by salva (Canon) on Apr 11, 2013 at 15:14 UTC |