SFTP File Transfer ASCII Not working

Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
3 posts Page 1 of 1

smandadi

Posts: 17
Joined: Mon Jun 14, 2010 3:58 pm

Post by smandadi » Tue Aug 17, 2010 6:15 pm
While transferring files via SFTP, getting into an issue regarding the line endings.
Moving a file from windows to AIX unix SFTP Server....

Have tried all options, auto, ascii, binary, and image, The same files, under the same conditions, but over FTP will transfer fine using the ascii option.

sreejith

Posts: 2
Joined: Wed Jul 16, 2014 3:49 am

Post by sreejith » Wed Oct 19, 2016 5:36 am
smandadi wrote:
While transferring files via SFTP, getting into an issue regarding the line endings.
Moving a file from windows to AIX unix SFTP Server....

Have tried all options, auto, ascii, binary, and image, The same files, under the same conditions, but over FTP will transfer fine using the ascii option.

Please suggest how to resolve the above mentioned issue , We too face the same.

The format is not proper, extra white spaces are appearing at the end of each line while transferring via SFTP, please advise how can I force ASCII for SFTP transfer.

Support_Rick

Support Specialist
Posts: 590
Joined: Tue Jul 17, 2012 2:12 pm
Location: Phoenix, AZ

Post by Support_Rick » Wed Oct 26, 2016 8:04 am
SFTP is a binary transfer. Meaning, it doesn't convert during transfer. What goes in, goes out.

You either have to modify the file (modify LINEFEED to CARRIAGE RETURN/LINEFEED) or vice versa before you send it, or after you receive it. Review the task "Search and Replace". Search for LF(hex) and replace with CRLF(hex).
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
3 posts Page 1 of 1