in reply to In Perl, How to pass the File Transfermode in SFTP
Hi Yedu,
As others have already pointed out, SFTP defaults to binary mode, in fact older versions of the protocol don't even have an "ASCII mode", so if you don't see the option in your client you probably won't be able to set it.
Do you really need to transfer files in ASCII mode?
If so, you will probably have to implement the necessary conversions (usually line endings) outside of SFTP, before or after transfer.
Regards,
-- Hauke D
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: In Perl, How to pass the File Transfermode in SFTP
by Yedu (Acolyte) on Jun 01, 2016 at 20:37 UTC | |
by salva (Canon) on Jun 01, 2016 at 21:01 UTC | |
by Yedu (Acolyte) on Jun 01, 2016 at 20:38 UTC |