Welcome to WebmasterWorld Guest from 3.80.60.248

Forum Moderators: phranque

Message Too Old, No Replies

how do i unzip a file on the server?

     
8:56 pm on Aug 3, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:May 1, 2005
posts:108
votes: 0


I am using smart ftp to upload files to the server, which is hosted at godaddy.

I can upload a single 50 MB file in a few minutes, but 50 1MB files takes much longer, because the ftp "pauses" between each file upload.

I've noticed references to unpacking files on the server by using a "shell command"...

Can anyone tell me how to do this? I would be very grateful - I'm uploading thousands of image files now, and it takes forever.

The server has PHP installed, if that helps.

9:57 pm on Aug 3, 2006 (gmt 0)

Administrator

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
posts:12548
votes: 2


Unix has an unzip utility. Type "man unzip" at the command line to see the switches and how to use the utility.
10:09 pm on Aug 3, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:May 1, 2005
posts:108
votes: 0


I typed "man unzip" (with and without quotes) into the command bar on my ftp program, and nothing happened.

Is there some other way to run a command besides the ftp program?

10:15 pm on Aug 3, 2006 (gmt 0)

Senior Member from CA 

WebmasterWorld Senior Member encyclo is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 31, 2003
posts:9074
votes: 6


Is there some other way to run a command besides the ftp program?

SSH is the best way: ask your host if they support SSH, and download a copy of Putty to make the SSH connection:

[chiark.greenend.org.uk...]

Once you connect, you get a full command-line environment - you will need to know some basic Unix commands to get around, but it's easy to learn. :)

10:16 pm on Aug 3, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:May 1, 2005
posts:108
votes: 0


Excellent, thanks. This is some stuff I've been wondering about for a while, it'll be good to finally figure it out.
2:27 pm on Aug 4, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:May 1, 2005
posts:108
votes: 0


Actually, this isn't working for me. Literally - the Putty program will not seem to run properly on my computer. I'm interested in it, and I'll tinker with it some more later, but for now I need to upload these 5,000 gif files.

Does anyone know how I might do this, unzip a file on the server? The "man unzip" thing did not work, and I'm really having trouble finding step-by-step instructions on the web. I've googled it, yahood it, I even asked Jeeves, and he didn't know either. I let my ftp program run over night, but it disconnected at some point, and I still have thousands of files to upload. I could do this in about 30 minutes if I knew how to unzip files on the server.

Thanks

4:40 pm on Aug 4, 2006 (gmt 0)

Administrator

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
posts:12548
votes: 2


In order to unzip the files on the server you are going to need to use the command line. Unless you want to try and script (code) an unzipping process.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members