Compressed Zipped Folder

R

Roland Hall

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
 
A

Aaron Bertrand [SQL Server MVP]

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).
 
R

Ray Costanzo [MVP]

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
 
R

Roland Hall

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message : 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
 
R

Roland Hall

in message
:> 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
 
R

Ray Costanzo [MVP]

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
 

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

Similar Threads

VBScript function returning multiple values 17
ASP design question 4
Application question 2
the perfect function 4
screen scraping 4
replace text 2
Objects and collections 4
sub or function 26

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top