queenpictoria Posted May 25, 2005 Posted May 25, 2005 When I transfer my files via FTP to my domain, the file size is slightly less. I am not getting my whole file transferred. What do I need to do differently? For example, the file could be 90.000 in size when it leaves my computer hard drive, and when it lands on the domain, the size is 89,754. Is this natural? Thanks, queenpictoria Quote
cajunman4life Posted May 25, 2005 Posted May 25, 2005 As for as I know, this is. I'm assuming the PC you're using is running Windows, whereas the TCH servers are running Linux. If I remember right, each filesystem (NTFS or FAT32 on Windows, probably EXT2 or EXT3 on the TCH servers) stores data in different size blocks. That's without jumping into too much technical detail... Quote
TweezerMan Posted May 25, 2005 Posted May 25, 2005 Actually, what's happening is that the files in question are probably being uploaded in ASCII mode, and during the transfer, Windows line ending characters (CR+LF) are converted to Linux line ending characters (just LF). The result is that one character is removed from every line in the file when it is uploaded. The file size in bytes on the Linux server will be smaller than the file size on Windows by the number of CR characters removed. Assuming the files in question are supposed to be uploaded in ASCII mode (like .html files, .php files, etc.), yes, this is natural and it is supposed to happen so the server can properly read the uploaded files. Quote
cajunman4life Posted May 25, 2005 Posted May 25, 2005 I always miss the easy explinations... lol Quote
queenpictoria Posted May 25, 2005 Author Posted May 25, 2005 Thanks fellas! I know everything is ok. I appreciate it. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.