Compare file sizes between FTP and local folder?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Zefrem23
Junior Member
Junior Member
Posts: 7
Joined: 2013-05-12, 09:02 UTC

Compare file sizes between FTP and local folder?

Post by *Zefrem23 »

Hey folks, I'd like to know whether there's a way to compare the sizes of files in an FTP site's folder versus my local ones? I have 33000+ files in my local folder, exactly the same number of files on the server, and collectively the files are over 100gb. So I'd prefer not to have to redownload everything. Is there a way to download only the files where the sizes don't match?

Thanks in advance!
User avatar
CopyCats
Member
Member
Posts: 195
Joined: 2003-02-05, 13:09 UTC
Location: Netherlands
Contact:

Post by *CopyCats »

Commands | Synchronize Dirs will let you compare (and download) them.

Note: If these are text files (eg. HTML) that were uploaded in ASCII mode, it is perfectly normal when the copies on the Unix server are smaller than the originals on your Windows machine. This is because Windows uses two bytes (carriage return/linefeed) to denote the end of a line, whereas Unix uses a single byte (linefeed). The Synchronize Dirs command in Total Commander has a clever feature that counts the lines in your source files to calculate how large those files would be on a Unix system. If those sizes match, it won't show the files as different even though technically there is a size difference. For more info see the Sync Dirs sections of the helpfile.
#5050 :: Everyone who believes in telekinesis, raise my hand!
Zefrem23
Junior Member
Junior Member
Posts: 7
Joined: 2013-05-12, 09:02 UTC

Post by *Zefrem23 »

Thanks, that's just the ticket. It definitely won't be ASCII mode differences as these're zip files. But it seems to be doing the right thing, so thanks again!
Post Reply