unzip a file on webserver

C

carrie

Hi all,

Please help me find a way to unzip a file on my webserver. I've
checked with the hosting company, and they have not installed any
components that I can use to extract files.
I'm open to suggestions, but about all I have to work with is
javascript & asp.
I just want to extract it, put the contents in a specified folder, and
then delete the .zip file.

Please help if you can,
Carrie
 
T

Tom [Pepper] Willett

You would need to have control over the server and have an unzip utility
installed, which is not likely to happen.

You havn't given specific enough information as to what you are trying to
do. Is this a file you want inside your web? If so, why not unzip it on
your local pc and publish to the host server?
--
===
Tom [Pepper] Willett
Microsoft MVP - FrontPage
---
FrontPage Support:
http://www.frontpagemvps.com/
===
| Hi all,
|
| Please help me find a way to unzip a file on my webserver. I've
| checked with the hosting company, and they have not installed any
| components that I can use to extract files.
| I'm open to suggestions, but about all I have to work with is
| javascript & asp.
| I just want to extract it, put the contents in a specified folder, and
| then delete the .zip file.
|
| Please help if you can,
| Carrie
|
 
C

carrie

Oh, the reason why I didn't want to download it is because the .zip
file is 680 MB, and contains 16,000 .jpg files (very hard to work
with). It's FTP'd to us (it's the realtor IDX method of data
transfer), so it's already on the webserver, we just need to extract
the pictures from it and put it in another folder. At first, the issue
was the bandwidth. Imagine receiving that file, then downloading it,
then uploading it again. It would have killed us, but we changed
hosting providers to get around that.
Now it's just ease of use. We have a high speed connection, but it
would take forever to get all of those pictures uploaded through
frontpage's import feature - and that's' if it doesn't lock up first.
Plus, we're supposed to get an incremental update for this file every
night (I haven't seen it yet), but it would arrive via FTP also. I
don't know how big it will be, but I imagine it would contain new
pictures recently added to the system, and instructions for what to
delete. Could you imagine the time it would take to wait for a web
folder full of 16,000 pics to open?
Is there a way to do this with scripting? I was beginning to think I'd
have to put us on a dedicated server so we could add the components for
a script to unzip that file and keep it up to date. We're on a Windows
platform, so the only options I can think of are ASP and javascript.
But, like I said, there is currently no ASP archive program installed
on the server. We do have the ASP upload component on our webserver,
and I was thinking of writing a script to upload the files from my
hard-drive to the webserver, but I'd have to download the .zip file and
extract it & I prefer to automate things when and where I can.
How would you handle this? Have you ever setup a realtor idx website?
I have posted to several message boards, but I'm not getting any
response for this.
 
S

Stefan B Rusynko

See http://www.aspfaq.com/show.asp?id=2187

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Oh, the reason why I didn't want to download it is because the .zip
| file is 680 MB, and contains 16,000 .jpg files (very hard to work
| with). It's FTP'd to us (it's the realtor IDX method of data
| transfer), so it's already on the webserver, we just need to extract
| the pictures from it and put it in another folder. At first, the issue
| was the bandwidth. Imagine receiving that file, then downloading it,
| then uploading it again. It would have killed us, but we changed
| hosting providers to get around that.
| Now it's just ease of use. We have a high speed connection, but it
| would take forever to get all of those pictures uploaded through
| frontpage's import feature - and that's' if it doesn't lock up first.
| Plus, we're supposed to get an incremental update for this file every
| night (I haven't seen it yet), but it would arrive via FTP also. I
| don't know how big it will be, but I imagine it would contain new
| pictures recently added to the system, and instructions for what to
| delete. Could you imagine the time it would take to wait for a web
| folder full of 16,000 pics to open?
| Is there a way to do this with scripting? I was beginning to think I'd
| have to put us on a dedicated server so we could add the components for
| a script to unzip that file and keep it up to date. We're on a Windows
| platform, so the only options I can think of are ASP and javascript.
| But, like I said, there is currently no ASP archive program installed
| on the server. We do have the ASP upload component on our webserver,
| and I was thinking of writing a script to upload the files from my
| hard-drive to the webserver, but I'd have to download the .zip file and
| extract it & I prefer to automate things when and where I can.
| How would you handle this? Have you ever setup a realtor idx website?
| I have posted to several message boards, but I'm not getting any
| response for this.
|
 
C

carrie

Thank you, I also came across the link you posted, but, as I said,
there is no componenet on the webserver to allow for these scripts to
work.
Thanks anyway. It's beginning to look more and more like I'll have to
move to virtual private server or dedicated server to automate this.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top