[Info-vax] Potential loss of data problem in sftp client in TCP/IP Services ?
glen herrmannsfeldt
gah at ugcs.caltech.edu
Mon Mar 12 21:10:15 EDT 2012
JF Mezei <jfmezei.spamnot at vaxination.ca> wrote:
(snip)
> I've never used sftp. Figured it woudl have same inerface as FTP with
> similar commands but just using encrypted links. What is "ascii dos" ?
Similar commands, but not exactly the same.
ftp by default transfers text files, converting to CRLF when sending,
and back again on receiving. With the bin option, or maybe also
some others, it transfers the bytes exactly as on disk.
sftp doesn't have an option to send text files while translating
line termination.
Also, ftp has, and defaults to, prompt mode where it asks for each
file in an mget or mput.
For sftp, the get and put commands allow for multiple files, with
no option for prompt mode. This might cause problems on some systems
if * and ? are used in file names.
There are more differences, but those are the ones you will notice
if you are used to using ftp.
-- glen
More information about the Info-vax
mailing list