1

I would like when we Copy files on to the server via FTP the size of the file changes. What is the reason behind this. Does the change in the file size can make the files corrupt and the FTP process Fails ?

4

1 回答 1

5

Most likely, you are copying between Windows and Unix, and the difference in size is due to the difference between CRLF and just LF for line endings.

If it is crucial to preserve the line endings, use BIN (binary) mode to transfer the data. The alternative is ASC (ASCII) mode, where the systems map line endings.

于 2009-01-08T06:00:24.517 回答