Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 08-21-2008, 01:39 AM   #1
PHP Programmer
 
Join Date: Apr 2007
Location: Chennai, Tamil Nadu, India.
Posts: 347
Thanks: 2
Thanked 0 Times in 0 Posts
Default Downloading Zips, Themes, Plugins, Scripts Directly To Your Web Host

Hi,

Often we find a very cool script on the internet and are thrown off by having to first download it to your computer then extract it then upload it file by file. It's all a waste when you can download files directly to your server with the 500MBps connection your server has AND unzip right on the server.

For those of you who have SSH access to your server, type this in the command line to download the files:

Replace the wordpress download URL with whatever download URL you want. Then.

If the file is a zip file.

Quote:
unzip latest.zip
if the file is a [something].tar.gz:

Quote:
tar -zxvf [something.tar.gz]
if the file is a [something].gz:
Quote:
gunzip [something].gz
If you don't have SSH Access, use the file attached to this thread. Rename it to PHP and use it to download and extract .tar.gz, .gz, .zip files. The file should be chmoded to 777.

Important: DO NOT LINK TO THIS FILE or give the URL to anyone. Giving anyone else access to this script is a MAJOR security threat. Change the name of the script to some obscure unreadable name. Delete it every time after using it.
Attached Files
File Type: txt downloader.txt (2.2 KB, 4 views)

Last edited by Raja Sekharan; 08-21-2008 at 01:42 AM.
Raja Sekharan is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum

Tags
directly, downloading, efficiency, host, plugins, saving time, scripts, server to server transfer, themes, web, zips

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 12:55 AM.