Using DOS Prompt and via "FTP copying files to the server

I would like when we copy the files to the server via FTP, the file size will change. What is the reason for this. Can resizing a file cause file corruption and crash the FTP process?

+1


source to share


1 answer


You are most likely copying between Windows and Unix, and the size difference is due to the difference between CRLF and LF for line endings.



If it is important to preserve line endings, use BIN (binary) mode for data transfer. An alternative is ASC (ASCII) mode, where system map line endings end.

+5


source







All Articles