Re: sftp - binary, ascii mode
From: Alvin Wong (alvin.wong_at_b2b.com.my)
Date: Sat, 13 Mar 2004 18:54:46 +0800 To: Martin Sarsale <email@example.com>
Thanks for your feedback guys. It was as i suspected all along that sftp
does not do ascii files. The reason i need ascii mode is that some mdl
files that i use for sending do not work accurately when sent through
binary mode. As for the exact reason, i haven't been able to fathom,
however it works when i use windows and select ascii mode for secure
file transfer. Another question is whether scp contains ascii mode? i
don't think so because they use the same protocol don't they? I'm
probably answering my own question here but it'll be nice if someone
could correlate what i said, thanks!
I read somewhere that there is sftp2, can anyone tell me more about that
as to whether there is an option to use ascii mode for file transfers?
It's a drag because i have to reboot back to windows in order to fire up
the secure file transfer and then get my colleagues to send me the file
again to my email in windows.
Martin Sarsale wrote:
>Why do you want to send files in ascii mode?
>Binary mode works for both ascii and binary files
>On Fri, 2004-03-12 at 05:17, Alvin Wong wrote:
>>Is there a way to pass parameters for sftp to send in binary, ascii
>>mode? Does anyway know the command to do it? Or is there another secure
>>ftp tool which will allow me to send files in binary, ascii mode securely?
>>Thanks in advance.