Zip File -> Web Server Unzip Functionality?

Anybody know how to unzip a zip file once uploaded (or ftp’d) to the server using a script? I’m not sure if any of the installed components have this functionality…

Example: I’d like to allow a user to upload a zip file full of photos to the server, then have a component or script unzip the file and place the photos in a photos folder.

Any help? Thanks!

[QUOTE=WebDeveloper]
Anybody know how to unzip a zip file once uploaded (or ftp’d) to the server using a script? I’m not sure if any of the installed components have this functionality…

Example: I’d like to allow a user to upload a zip file full of photos to the server, then have a component or script unzip the file and place the photos in a photos folder.

Any help? Thanks!
[/QUOTE]

There are components available for this (aspZip.EasyZip), but I don’t see any such components listed on jodohost’s list of installed components. The file manager availble from the control panel does zip and unzip, so there must be a component somewhere on the system to do the dirty work. Perhaps jodohost could make it available. If not, perhaps they would consider installing such a component.

riley

Anybody recommend the “Best” one, maybe JodoHost will purchase it?!

http://www.aspin.com/home/components/file/filecomp

http://www.hotscripts.com/ASP/Scripts_and_Components/File_Manipulation/File_Compression/

If using .NET, check out SharpZipLib:

ICSharpCode · GitHub

[QUOTE=WebDeveloper]
Anybody recommend the “Best” one, maybe JodoHost will purchase it?!

http://www.aspin.com/home/components/file/filecomp

http://www.hotscripts.com/ASP/Scripts_and_Components/File_Manipulation/File_Compression/
[/QUOTE]

I have no experience with any of the components, so I can’t say. But the best reviews I’ve seen seem to indicate aspin is a good one.

riley

there is a component called GZip installed.. (I think) I don’t know if that does the trick, cuz I have no idea what it is :slight_smile:

[QUOTE=DirtBag]
there is a component called GZip installed.. (I think) I don’t know if that does the trick, cuz I have no idea what it is :slight_smile:
[/QUOTE]

How did you find out it’s installed?

riley

I think Yash mentioned it in a post some weeks ago, and in my webroot there are some folders called gzipcache, gziplog and httpzipreport

Well, we really have no problem buying any of these components but we’re going to have to do some research and look for a component that wouldn’t cause any security issues

Doesn’t see these companies offer any ISP versions of their components

Maybe you could install this free one in the interim?

http://www.xstandard.com/page.asp?p=C9891D8A-5390-44ED-BC60-2267ED6763A7

It provides decent functionality from what I read about it.

Do we have zip/unzip functionality via ASP yet? (win6)

[QUOTE=WebDeveloper]
Do we have zip/unzip functionality via ASP yet? (win6)
[/QUOTE]

Yash?

I’m looking into this
I am mainly concerned how it handles permissions and whether it can be used to write outside the user’s directory

[QUOTE=Yash]
I’m looking into this
I am mainly concerned how it handles permissions and whether it can be used to write outside the user’s directory
[/QUOTE]

Thanks for looking into this. I’ll do a little bit of homework myself and see if I can make any knowledgable suggestions that might speed up the process.

This seems to be the most robustly featured component: SoftArtisans FileUp - http://fileup.softartisans.com/fileup-148.aspx

But this seems to be both inexpensive and still very useful: aspSmart aspSmartZip - http://www.aspsmart.com/aspsmartzip/ ($99/server)

What do you think? Pretty please?? :wink: :stuck_out_tongue:

http://xstandard.com/page.asp?p=C8AACBA3-702F-4BF0-894A-B6679AA949E6

anyone even tried this on a local machine?

[QUOTE=Stephen]
http://xstandard.com/page.asp?p=C8AACBA3-702F-4BF0-894A-B6679AA949E6

anyone even tried this on a local machine?
[/QUOTE]

I have not, but after reading through the API Reference and Examples, it seems very useful. It doesn’t seem like a security threat either as the functionality is limited. Great find Stephen, thanks! Can we register it on Win6? :stuck_out_tongue:

I am testing it on my server for any issues, will talk to Yash about installing it.

[QUOTE=Stephen]
I am testing it on my server for any issues, will talk to Yash about installing it.
[/QUOTE]

I’m excited!!! :smiley:

Yash, has this been registered on Win6 yet?