in reply to In Perl, How to pass the File Transfermode in SFTP

It depends on your SFTP client and SFTP protocol version you are using.
By default SFTP transfer is binary, TEXT mode is supported from version 4 of the protocol.
What OS and what client are you using?
  • Comment on Re: In Perl, How to pass the File Transfermode in SFTP

Replies are listed 'Best First'.
Re^2: In Perl, How to pass the File Transfermode in SFTP
by Yedu (Acolyte) on May 25, 2016 at 18:02 UTC
    Thanks for the reply! As part of the initial requirement we are sending the files through FTP using Net::FTP module. We are now, updating the process to SFTP and we cant have Net::SFTP module installed. So I am looking for some help how can we set the transfer mode before sftp'ing the files. Thanks again!
      All this is in Perl. Processing the files from Windows.