473,804 Members | 3,557 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3397
> 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********@onl ine.nospam> wrote in message
news:eT******** ******@TK2MSFTN GP10.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******** ******@tk2msftn gp13.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******** ******@tk2msftn gp13.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.CreateOb ject("WScript.S hell")
objShell.Run "wzzip " & sZipfile & " " & sZipsource & "\*.asp" ,0,True
Set objShell = Nothing

Ray at work

"Roland Hall" <ro********@onl ine.nospam> wrote in message
news:OH******** ******@TK2MSFTN GP15.phx.gbl...
"Aaron Bertrand [SQL Server MVP]" wrote in message
news:O3******** ******@tk2msftn gp13.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
14123
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 still not-compressed. (using NTFS, win2k) // some folder string path = @"C:\TEMP\";
0
393
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 is that, I cannot put data into a compressed folder in C++, in spite of the fact that all operations succeed. Note: all this have to work under XP and above, because of integrated
2
1241
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 of learning how to utilize compressed folders in WinXP?
3
5970
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 possible? Justin Busch jbusch@ccac.edu
0
1021
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 though my friend hasn't applied any passwords to this folder. Can anyone tell me why this is happening?
11
10618
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 will zip the files using the inbuilt Compressed files functionality of Windows (same as the Context Menu -Send to -Compressed (zipped) folder). I cannot use any other third party tool (like winzip etc.) because of some non-technical constraints.
2
2392
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 the zip I get an error message that says "The Compressed (zipped) Folder is invalid or corrupted.". Any other file transferred is just fine. Has anyone encountered this with the FtpWebRequest method of file transfer?
2
2271
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 small code snippet, here is a summary of what I did: 1. Read the text content into a buffer through FileStream.Read. 2. Create a DeflateStream by wrapping up a MemoryStream. 3. Write the compressed data into the underline stream (the...
1
1609
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
10583
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10337
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10323
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10082
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9160
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7622
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5654
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4301
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2995
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.