By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,454 Members | 1,795 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,454 IT Pros & Developers. It's quick & easy.

Compressed Zipped Folder

P: n/a
It appears what I'm reading is that Windows 2K3, like XP, supports what MSFT
calls a compressed zipped folder. Is this exposed so I can effectively use
FSO or a shell to create one of these and move some files into it and then
offer it as a download on my web site?

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Jul 27 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
> It appears what I'm reading is that Windows 2K3, like XP, supports what
MSFT
calls a compressed zipped folder. Is this exposed so I can effectively
use
FSO or a shell to create one of these and move some files into it and then
offer it as a download on my web site?


My limited experimentation in internal projects has led me to implement a
solution using wzcline instead (WinZip 9.0's command-line utility). Being
internal, we weren't as limited by the issues that impact most web sites
(e.g. running as IUSR).

In ASP.Net we have used ICSharp's zip libraries (don't recall the URL
handily) and this worked quite well, but these were for desktop or
command-line applications and not web-based ...

If you do find out about any APIs that are usable from an ASP perspective,
please post back here, because I'd be interested in trying them out (and
comparing them to the performance of wzcline).
Jul 27 '05 #2

P: n/a
No, unfortunately, there is no built-in automation support for zip
"folders." You still have to use some third party zip handler for
automating zipping things. I'm not sure why MS didn't open it up to
scripting, but I suppose there's a reason.

Ray at work
"Roland Hall" <ro********@online.nospam> wrote in message
news:eT**************@TK2MSFTNGP10.phx.gbl...
It appears what I'm reading is that Windows 2K3, like XP, supports what MSFT calls a compressed zipped folder. Is this exposed so I can effectively use FSO or a shell to create one of these and move some files into it and then
offer it as a download on my web site?

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp MSDN Library - http://msdn.microsoft.com/library/default.asp

Jul 27 '05 #3

P: n/a
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:Ol**************@tk2msftngp13.phx.gbl...
: No, unfortunately, there is no built-in automation support for zip
: "folders." You still have to use some third party zip handler for
: automating zipping things. I'm not sure why MS didn't open it up to
: scripting, but I suppose there's a reason.

They didn't even open it up to the command-line.
Thanks Ray.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Jul 28 '05 #4

P: n/a
I assume you've investigated the 3rd party options? ZBit's component worked
*quite* well for me in a past project...

http://www.aspfaq.com/2187
Jul 28 '05 #5

P: n/a
"Aaron Bertrand [SQL Server MVP]" wrote in message
news:O3**************@tk2msftngp13.phx.gbl...
:> It appears what I'm reading is that Windows 2K3, like XP, supports what
: > MSFT
: > calls a compressed zipped folder. Is this exposed so I can effectively
: > use
: > FSO or a shell to create one of these and move some files into it and
then
: > offer it as a download on my web site?
:
: My limited experimentation in internal projects has led me to implement a
: solution using wzcline instead (WinZip 9.0's command-line utility). Being
: internal, we weren't as limited by the issues that impact most web sites
: (e.g. running as IUSR).
:
: In ASP.Net we have used ICSharp's zip libraries (don't recall the URL
: handily) and this worked quite well, but these were for desktop or
: command-line applications and not web-based ...
:
: If you do find out about any APIs that are usable from an ASP perspective,
: please post back here, because I'd be interested in trying them out (and
: comparing them to the performance of wzcline).

The guy is interested in winzip so that'll probably work out just fine. I
think I saw something APIs when I was researching. I'll recheck and let you
know.

Thanks.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Jul 28 '05 #6

P: n/a
Winzip has a command line add-on. I like it.
http://www.winzip.com/downcl.htm

Sample code (I think this works anyway. I don't trust any of my code that
is from February of 2003. ;] )

Ray at work

Dim objShell
sZipfile
sZipsource

sZipfile = Server.MapPath("/test.zip")
sZipsource = Server.MapPath("/")
Set objShell = Server.CreateObject("WScript.Shell")
objShell.Run "wzzip " & sZipfile & " " & sZipsource & "\*.asp" ,0,True
Set objShell = Nothing

Ray at work

"Roland Hall" <ro********@online.nospam> wrote in message
news:OH**************@TK2MSFTNGP15.phx.gbl...
"Aaron Bertrand [SQL Server MVP]" wrote in message
news:O3**************@tk2msftngp13.phx.gbl...
:> It appears what I'm reading is that Windows 2K3, like XP, supports what
: > MSFT
: > calls a compressed zipped folder. Is this exposed so I can effectively : > use
: > FSO or a shell to create one of these and move some files into it and
then
: > offer it as a download on my web site?
:
: My limited experimentation in internal projects has led me to implement a : solution using wzcline instead (WinZip 9.0's command-line utility). Being : internal, we weren't as limited by the issues that impact most web sites
: (e.g. running as IUSR).
:
: In ASP.Net we have used ICSharp's zip libraries (don't recall the URL
: handily) and this worked quite well, but these were for desktop or
: command-line applications and not web-based ...
:
: If you do find out about any APIs that are usable from an ASP perspective, : please post back here, because I'd be interested in trying them out (and
: comparing them to the performance of wzcline).

The guy is interested in winzip so that'll probably work out just fine. I
think I saw something APIs when I was researching. I'll recheck and let you know.

Thanks.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp MSDN Library - http://msdn.microsoft.com/library/default.asp

Jul 28 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.