Fast FTP
March 13, 2006 | In software, web design |What if you wanted to quickly move 1,000 local files to your webhost?
My suggestion is to compress all of those files into one large file. FTP that one large file to your server. Then Telnet/SSH to the specific directory where that file lives and uncompress it.
FTP clients such as CuteFTP Professional have a Compressed Transfers feature that allows for streaming compression for faster transfers as well as manual compress/deflate to/from ZIP, CAB or GZIP/Tarball archives. This feature compresses the files into one file, and then FTPs them across much more quickly than moving them individually.
If your FTP client doesn’t have a similar feature, then you can simply compress the files using your favorite compression program.
Then you will need to use a Telnet/SSH connection to your webhost, log in and uncompress your files using the following commands:
All of the below commands assume that you are within the same directory that the compressed file is in. To be sure type:
ls {enter}
If the file is there, you’re ready to go. If not type:
cd /big/dom/xdomain/www/directory/ {enter}
replacing the path with the correct path to your file.If a file ends in .zip (for example, file.zip) type:
unzip file.zipIf a file ends in .tar (e.g., file.tar) type:
tar -xvf file.tarIf a file ends in .gz (for example, file.gz) type:
gzip -d file.gzIf a file ends in .tar.gz (e.g. file.tar.gz) type:
gzip -d file.tar.gz
and then
tar -xvf file.tarIf a file ends in .tgz (e.g. file.tgz) type:
tar -xvzf file.tgz
No Comments yet »
RSS feed for comments on this post. TrackBack URI
Leave a comment
Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds.
Valid XHTML and CSS. ^Top^







Recent Comments