Login  
Search All Forums
Dart Home | PowerTCP Zip Compression for Active | Custom Development Reply | PowerTCP Zip Compression for ActiveX Topics | Forums   
AuthorForum: PowerTCP Zip Compression for ActiveX
Topic: ZipLite won't compress multiple wildcard types
gsauther
gs@genesis4windows.com

From: Spokane, WA USA
Posts: 1
Member Since: 04/09/07
posted April 9, 2007 3:25 PM

The problem:
This code only zips the first file extension

ZP.QuickZip "c:\genesis\*.ics,*.hst","C:\TEST.ZIP", True, True, "", zipNoEncryption

I have tried altering the path parameter with no effect. Is this a bug? Am I doing something wrong?

I have not installed the most recent version because I installed 2 weeks ago and your download page says not to install the trial over a licensed version. Very confusing.
Raj

From: Rome, NY, USA
Posts: 389
Member Since: 02/01/06
posted April 9, 2007 4:50 PM

You code is looking for *.hst files in the root of the applications, and because there are none no hst file is being included in the zip file.

To confirm this, put some .hst files in the root of the application and run it!

The solution is to add the path along with the extension, something like this:
ZP.QuickZip "c:\genesis\*.ics,*c:\genesis\.hst","C:\TEST.ZIP", True, True, "", zipNoEncryption

I hope this is helpful. Let me know if you have further questions.
-Raj
Reply | PowerTCP Zip Compression for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX