Speed up FTP transfers with zip and ssh

Uploading many small files using FTP usually takes longer than one big. It’s often a good idea to upload a compressed zip archive and then unzip the whole package directly on the server.

Unzipping zip files on the server is something you often can do if you have SSH access. All you need to do is to upload a compressed archive using FTP, open up a Terminal and then do something like this:

  1. // Connect with SSH
  2. ssh yourdomain.com -l yourusername
  3.  
  4. // Locate the directory with the zip file
  5. cd /domains/yourdomain/html
  6.  
  7. // Unzip
  8. unzip html.zip

Simple as that! Another couple of minutes saved.

2 days ago

Photoshop Pro Tip: Edit –> Keyboard Shortcuts: Delete Help shortcut.

5 days ago

Self-driving cars now legal in Nevada. http://t.co/KJhEZmhG That’s one small step for man, one giant leap for Skynet.

5 days ago

Self-driving cars now legal in Nevada. http://t.co/KJhEZmhG That’s one small step for man, one giant leap for Skynet.

9 days ago

All URLs are URIs, but all URIs are not URLs.

11 days ago

“And I will always love you” It’s weird when people die.

11 days ago

“I believe that what doesn’t kill us makes us bitter.” Chuck Lorre vanity card 1. http://t.co/G6HJ1fUa