LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Why we use bin before mget and mput during ftp (http://www.linuxquestions.org/questions/linux-general-1/why-we-use-bin-before-mget-and-mput-during-ftp-226554/)

indian 09-04-2004 10:09 AM

Why we use bin before mget and mput during ftp
 
Hi,Why we use "bin" before "mget" and "mput" in ftp...I mean I know it means binary mode but what exactly does this mean ? Thanking u in anticipation...

hw-tph 09-04-2004 11:14 AM

Binary mode is intended for transfers of files that are not clear text. This includes pictures, audio files and other files like MS Word .doc files. During binary FTP transfer the files are transferred as-is, without any changes at all. However, when using ASCII transfers - the other choice - the client (or server, depending who is sending the file) will compress the file. This compression breaks binary files, but is very efficient on text-only files like source code and well, just plain text. In short, ASCII transfers are faster for text files but break binary files.


Håk


All times are GMT -5. The time now is 08:36 PM.