473,398 Members | 2,380 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,398 software developers and data experts.

Zipping Files on Server

Is there any way of using ASP to zip up a set of files on the remote server
and either store the resulting zip on the server and/or present it to the
user for download?

The thing that is going to cause problems - I can't install components on
the web server so need a solution that is pure code!

Thanks
Jul 22 '05 #1
2 1242
You will not be able to do this with pure ASP. Installing Winzip and
command line support is not an option either?

You can purchase the Winzip command line add-on
(http://www.winzip.com/downcl.htm) for Winzip (http://www.winzip.com/),
"shell out" and execute the commands for the command line add-on to zip
files.

<%
sCommand = "wzzip D:\Inetpub\wwwroot\test\htmlfiles.zip
D:\Inetpub\wwwroot\test\*.htm"
Set oShell = CreateObject("WScript.Shell")
oShell.Run sCommand, ,True
Set oShell = Nothing
Response.Write "<a href=""htmlfiles.zip"">Download zip file</a>"
%>

Ray at work

"Keith" <@.> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Is there any way of using ASP to zip up a set of files on the remote server and either store the resulting zip on the server and/or present it to the
user for download?

The thing that is going to cause problems - I can't install components on
the web server so need a solution that is pure code!

Thanks

Jul 22 '05 #2
On Mon, 7 Feb 2005 15:11:31 -0000, "Keith" <@.> wrote:
Is there any way of using ASP to zip up a set of files on the remote server
and either store the resulting zip on the server and/or present it to the
user for download?

The thing that is going to cause problems - I can't install components on
the web server so need a solution that is pure code!

Thanks

Plenty of zippy whotsits on aspin.

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

All will need installing on the server though.

Or if your server supports .net then a .net solution will cause less
trouble on a server you don't have control of.

http://www.411asp.net/home/assembly/file/filecomp

--
Iain Norman | http://www.eliteforum.org
Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Arthur | last post by:
Does anyone know if the new Windows 2003 built-in .zip compressor/decompressor is available to scripting? If so, can you kindly point me in the right direction? I've searched and searched MSDN...
2
by: Beau | last post by:
Is there a native 'zipping' or compression compoonent in windows accessable via ASP? Or do you have to buy a compoonent?
0
by: Benjamin Bittner | last post by:
hallo ng, first of all, for the zipping progress i use the ziplib from http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx now to my problem. im trying to build a little application...
1
by: RJN | last post by:
Hi Does .Net provide libraries for zipping files? I read that a third party component CSharplib is available for doing this. Is there any license restriction for using this? Thanks rjn
9
by: ReidarT | last post by:
How can I zip (compress) a file in vs2005 with windows own zip-program? reidarT
6
by: reidarT | last post by:
I will develop a backup routine with local files (zipped) to an internet server via ftp. How do I zip files in Vb.net? reidarT
4
by: OriginalBrownster | last post by:
Hi There. I'm very new to python, and I have been using the TurboGears Framework to use python to power my application. I have a class which handles the upload of a file to a directory called...
1
by: durumdara | last post by:
Hi! As I experienced in the year 2006, the Python's zip module is not unicode-safe. With the hungarian filenames I got wrong result. I need to convert iso-8859-2 to cp852 chset to get good...
2
by: karen.google | last post by:
I have an SSIS package that I'm converting from DTS (SQLServer 2005), and the ActiveX Script Task (in VBScript) is deprecated, so I'm trying to convert things to Script tasks (in VB .net). I...
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: 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
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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...
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.