-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2009-02-07 at 01:51 -0500, Brian K. White wrote:
A classic example is ftp. The ftp protocol (or maybe it's just something every ftp daemon or client impliments by convention and isn't really part of the protocol spec itself I don't know) includes a feature to automatically translate the line-endings in plain text data passing from one platform to another when those platforms have diferent line-ending conventions. The most common example is between dos/windows and unix, but mac used to have a different convention too.
Thats "ascii" mode in ftp. Just tell your client to use always "binary" mode. It is your choice :-p Without ascii mode, you can not "read" a text file on the screen of ftp (command less below) if the server is of different line-ending than your machine: cer@nimrodel:~/tmp> ftp localhost Trying 127.0.0.1... Connected to localhost. 220 "Welcome to nimrodel FTP service." Name (localhost:cer): anonymous 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> ftp> help ascii ascii set ascii transfer type ftp> help binary binary set binary transfer type ftp> help less less view a remote file through your pager ftp> help more more view a remote file through your pager - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkmNd8EACgkQtTMYHG2NR9W6kwCff96UAVMY/GVMKzYsLuZUnfT7 6+YAn0niUyM2sL1NFaE4GPH+aAHjrOub =Gofv -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org