I have a requirement to transfer the files using SFTP (version 3) in Perl. While transferring the files, I need to set the transfer mode to ASCII.
Can some one please confirm, it if is possible using any of the Perl modules (Net::SFTP
/Net::SFTP::Foreign
/any)?
Using Net::SFTP::Foreign:
$sftp->put($local_from, $remote_to, conversion => 'unix2dos');