Bjarstal Posted June 18, 2013 Share Posted June 18, 2013 Hello, I'm making a backup of the files by using Filezilla and notes that the file size increases! Filezilla tells me that on the server the size of .htaccess is 2995 but on my local computer after having transferred it, the size is 3048; a difference of 53. This is valid for all files, but the most common difference is 36. How come, and does it have any impact so I should worry about it? Thanks Hans Link to comment Share on other sites More sharing options...
vekia Posted June 18, 2013 Share Posted June 18, 2013 UNIX uses a single Line Feed (LF) to signify a new line, Windows uses a Carriage Return/Line Feed (CRLF) and Mac uses just a CR. Unix text file end each line with a line feed character. DOS/Windows text files end each line with a carriage return and line feed. Because of this, there is one additional character in a DOS/Windows file for each line in the file. When you transfer the file from Unix to DOS using ascii mode in ftp, this conversion takes place automatically. If you use binary mode, no conversion takes place. there is nothing bad in this, you should not have to worry Link to comment Share on other sites More sharing options...
Recommended Posts