Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a zip of a pretty large website. I FTP the zip over to the server and then unzip it and extract to the website folder but this is very slow.

Is there anyway to just extract and copy the files that are newer (compared to all files)

share|improve this question
    
possible duplicate of Unzip only updated files –  harrymc Jun 7 '10 at 13:04
    
@harrymc - the dup you suggest is for local files - this question is for remote FTP. –  Shevek Jun 7 '10 at 13:06
    
@Shevek: There are many more dups possible for FTP than for local files. Example: superuser.com/questions/25544/… –  harrymc Jun 7 '10 at 14:01
    
@harrymc - fair point, but your original dupe link was for unzip, not ftp sync :) –  Shevek Jun 7 '10 at 14:32

2 Answers 2

up vote 2 down vote accepted

Is there a specific reason to upload a ZIP then decompress?

I use Beyond Compare which has a built in FTP engine to compare my local web source directory to the FTP remote directory.

This highlights which files have changed and I only upload those.

FileZilla is a free FTP client which also has a directory comparison feature

share|improve this answer
    
+1 for Beyond Compare. I love that program. –  Roald van Doorn Jun 7 '10 at 15:00

My favorite is FileZilla due to its advanced file and directory comparison. This is great to use if you do not have shell access to the server and cannot extract files using specified switches for "tar" or "unzip".

When transferring files

  • Select the "Overwrite if source newer" radio button
  • Select "Always use this action" if you are going to use this on a daily basis or maybe just for the current upload queue.

alt text

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.