Dart Home | PowerTCP Zip Compression for Active | Custom Development | Reply | PowerTCP Zip Compression for ActiveX Topics | Forums |
Author | Forum: PowerTCP Zip Compression for ActiveX Topic: Limits on number of files in file store? |
ddoverii ddover@fnmg.com From: Houston, TX USA Posts: 4 Member Since: 07/20/04 |
posted July 20, 2004 4:14 PM I am trying to create a zip file containing approx 4000 images. I have a query that returns the path/filename (sImageFile) for each image in a recordset and I loop through the recordset executing Zip1.FileStore.Add (sImageFile) for each record. When all of the files are in the FileStore, I plan to zip it up using Zip1.FileStore.Zip (sZipDestination), but I never get that far. Somewhere around 3200-3300, the program hangs, and I have to go to task manager to end the process. Is there some limit on the number of foles that can be in the FileStore, or am I doing something wrong? Any help would be appreciated. I am using Windows 2000, VB6 and the full version of the compression tool. Thanks. |
ddoverii ddover@fnmg.com From: Houston, TX USA Posts: 4 Member Since: 07/20/04 |
posted July 20, 2004 5:03 PM Update: I have run the process several times, and each time it stops adding files to the FileStore when the FileStore.Count = 3464. Any Ideas? |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted July 21, 2004 3:49 PM Hi, There should not be a file number limit (at least not lower than 64K). Is it the same set of files each time? I believe there is a size limit of 2GB. Could it be that the store has 2GB of data in it? Thanks, -ken |
ddoverii ddover@fnmg.com From: Houston, TX USA Posts: 4 Member Since: 07/20/04 |
posted July 21, 2004 3:59 PM The image file range in size from 33k to 199k. I just ran the program and only added 3400 files, and the zip that was created is only 295MB. No where near 2GB. Any suggestions? |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted July 21, 2004 5:51 PM Hi, I'm not able to reproduce this. Does this happen with the FileSearch sample? What version of the DartZip.dll do you have? Thanks, -ken |
ddoverii ddover@fnmg.com From: Houston, TX USA Posts: 4 Member Since: 07/20/04 |
posted July 28, 2004 11:48 AM I tried the FileSearch sample on my data, and there was no problem. The only difference between the sample come and my own is that in the sample, the source for Zip1.FileStore.Add is given as a path to a directory, and in mine, I am calling the .Add method 4000+ times giving a specific filename and path each time. Could this be the cause of the problem? Is there another way to tell the object to include only specific files from the directory? The directory has over 115,000 images, and I only want to include approx 4000. The version number on the .dll is 1.8.1.0. Thanks in advance for your help. Doug |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted July 28, 2004 11:58 AM Does it always stop on a specific image? If so try just zipping that image and see what happens. |
Reply | PowerTCP Zip Compression for ActiveX Topics | Forums |
This site is powered by
![]() |