Skip to content

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.
  • smandadi Offline
  • Posts: 17
  • Joined: Mon Jun 14, 2010 3:58 pm

SFTP File Transfer ASCII Not working

Post by smandadi »

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 Offline
  • Posts: 2
  • Joined: Wed Jul 16, 2014 3:49 am

Re: SFTP File Transfer ASCII Not working

Post by sreejith »

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 Offline
  • Support Specialist
  • Posts: 590
  • Joined: Tue Jul 17, 2012 2:12 pm
  • Location: Phoenix, AZ
  • Contact:

Re: SFTP File Transfer ASCII Not working

Post by Support_Rick »

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
Post Reply