473,395 Members | 1,652 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Compressed Zipped Folder

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
6 3358
> 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
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
"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
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
"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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Pavel | last post by:
Hello. I am trying to make a folder compressed and failing miserably. Below are three ways that I tried to make it compressed, all of them compile and run w/o any problems, but the folder is...
0
by: Vladimir Nesterovsky | last post by:
Hello, I'm having a trouble with a Shell.Folder object when I'm trying to use it from a C++ application, but at the same time, the same object works fine from within html script. The effect...
2
by: Nathan | last post by:
I'd like to create a simple backup utility for myself, which would involve selecting a group of files and sending them to a compressed folder in WinXP. Can someone point me in the right direction...
3
by: Justin Busch | last post by:
I thought I saw an article online about programmatically using the Send To Compressed (zipped) Folder function in VB, however that page no longer exists. Does anyone have details on how this is...
0
by: cashdeskmac | last post by:
My friend has e-mailed a zipped folder containing his web application. It was originally in his wwwroot folder. When I try to extract it, I find that all of the files are password protected, even...
11
by: MadMonk | last post by:
Hi, I need to write a small Windows application (console or forms) (for Windows XP SP2 & Windows Server 2003), which will check a folder for the presence of some files, and if they exist, it...
2
by: SR | last post by:
Using the examples found on the MSDN website, I successfully wrote code that transfers files via ftp. HOWEVER, it does not transfer compressed (zip) files properly. After transfer, when opening...
2
by: Author | last post by:
I am exploring the DeflateStream class as a practice. I thought it is fun to compress a text file and write it to a disk file. So I created the following method. If you don't bother reading the...
1
by: =?Utf-8?B?S2V5QmVl?= | last post by:
- YOU CAN PROTECT ZIPPED COMPRESSED FOLDER WITH A PASSWORD (PW). - YOU MUST PROVIDE THE PW BEFORE THE FILE CAN BE EXTRACTED. - HOW CAN YOU EXTRACT THE FILE IF YOU FORGOT THE PW ?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.