in reply to Re: copy files on sftp to local dir and delete copied file
in thread copy files on sftp to local dir and delete copied file

Yes, that's right. Net::SFTP::Foreign requires the target argument to be the full file name.

It favors predictability over DWIM.

  • Comment on Re^2: copy files on sftp to local dir and delete copied file