cancel
Showing results for 
Search instead for 
Did you mean: 

Unzipping files on server

N/A

Unzipping files on server

Hi

I thought I would try to install a new programme now that Perl has been upgraded. Normally I upload each file individually and chmod, but the instructions say that I can upload the zipped file and it would all unpack and make the directories for me. I typed the following and received:

didit@cgi02 didit $ unzip cgi-bin/test/classifieds-3.02.zip
Archive: cgi-bin/test/classifieds-3.02.zip
inflating: classifieds/autodelete.pl
creating: classifieds/data/
extracting: classifieds/data/Autos.dat
extracting: classifieds/data/Computers.dat
extracting: classifieds/data/Furniture.dat
extracting: classifieds/data/Electronics.dat
extracting: classifieds/data/Personals.dat
extracting: classifieds/data/GeneralMerchandise.dat
extracting: classifieds/data/HousesApartmentsandRoomates.dat
extracting: classifieds/data/.dat
inflating: classifieds/email.cgi
inflating: classifieds/index.cgi
creating: classifieds/lib/
inflating: classifieds/lib/common.pm
inflating: classifieds/lib/functions.pm
inflating: classifieds/lib/sitevariables.pm
inflating: classifieds/lib/espanol.pm
inflating: classifieds/lib/lang.pm
inflating: classifieds/lib/.english.pm.swp
inflating: classifieds/lib/english.pm
inflating: classifieds/lib/nederlands.pm
inflating: classifieds/LICENSE
extracting: classifieds/people.dat
creating: classifieds/protected/
inflating: classifieds/protected/index.cgi
extracting: classifieds/README
inflating: classifieds/readme.html
inflating: classifieds/send.pl
inflating: classifieds/template.html

So, the files and directories have been created, but where are they? I can't see them in my test folder and they are not in any of the other folders either. Of course, if you type in the address for the files, they are 404'd which is what I expected.

Any ideas anyone please?

Thanks

Mark
6 REPLIES
N/A

Unzipping files on server

Check your home folder for a folder called classifieds - its showing up there on the web.
N/A

Unzipping files on server

Hmmm, it took some time to show there, it wasn't "instant" like it is when you ftp the files. I had hoped it would unzip the files into the test folder in the cgi-bin as this is where I wanted them to be.

Thanks anyway.

Mark
N/A

Unzipping files on server

You should have been in the test folder when you unzipped it then Wink
N/A

Unzipping files on server

Ahhhhh. I just assumed (in the immortal words of Benny Hill never assume because an ass is made of u and me, well just me in this case!) that because the file was located in that directory that is where it would unzip to. So the next question is: When using Putty, how do I get from the bash line to inside a directory like test?

Thanks

Mark
N/A

Unzipping files on server

"cd <directory>"

so, from login, it would be "cd cgi-bin/test/"

May I also point out http://portal.f9.net.uk/central/forums/viewtopic.php?t=2277 which is a tutorial on CGI/Shell Server basics Smiley
N/A

Unzipping files on server

That's where I went wrong then. I was putting the backslash after cd as you would if navigating through DOS.

Thanks for your help and time Colin.

Mark