Knowledge Base

Home > Problems > Uploaded file Is smaller than original.

Created 30 Apr 2002
Modified 26 Jul 2007

Article 72

Uploaded file Is smaller than original

Problem
I uploaded a text file to an FTP server and found that the size of the file on server is smaller than the local one.

Solution
You are connected to a UNIX server. SmartFTP automatically detects that you are transferring an ASCII file and by default transfers it in ASCII mode, whereby the UNIX server will convert it to UNIX text format. While a line in the text file of DOS format has a Line Feed and Carriage Return pair (LF/CR), the UNIX format only has a line feed. That is why the size becomes smaller after the text file is uploaded.

 

Keywords