Home  >  Article  >  What are the two file transfer methods used by FTP?

What are the two file transfer methods used by FTP?

王林
王林Original
2020-04-22 13:31:398368browse

What are the two file transfer methods used by FTP?

File transfer method used by FTP:

1. ASCII transfer method

Assume that the file the user is copying contains simple ASCII code text , if the remote machine is not running UNIX, when the file is transferred, ftp will usually automatically adjust the contents of the file to interpret the file into the format in which the other computer stores the text file.

2. Binary transmission method

In binary transmission, the bit order of the file is saved so that the original and copied ones correspond one to one bit by bit. Even files containing bit sequences on the destination machine are meaningless. For example, Macintosh transfers an executable file to a Windows system in binary mode, but this file cannot be executed on the other system.

The above is the detailed content of What are the two file transfer methods used by FTP?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn