| 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: Unzipping Spanned files. |
| nabolotnyj robertn@landamsearch.com From: ft myers, FL USA Posts: 3 Member Since: 04/17/06 |
posted April 17, 2006 11:40 AM I have no problem zipping and unzipping single file zips, but how di unzip spanned file zips? |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted April 18, 2006 1:48 PM Hi, You can use the SpanSettings object and the Disk event. For an example of zipping, see the Folder Archive sample that ships with the Tool. Also, there is some info on these members in the help file. Hope it helps, -ken |
| nabolotnyj robertn@landamsearch.com From: ft myers, FL USA Posts: 3 Member Since: 04/17/06 |
posted April 18, 2006 5:43 PM Thanks for your response. I have no problem CREATING spanned zips files. I cannot UNZIP spanned files. I recieve a 4 zip files; file.zip, file.z01, file.z02, file.z03. I load file.zip into the filestore object. I can do everything, list all members, get each members size, etc. BUT, I can't extract. Attached is a code snippet: Dim f As DartZipCtl.File Dim sSourcePath As String Dim sDestPath As String Dim sFileName As String sFileName = "20060412.zip" sSourcePath = "G:\Geodata\12071.FL_Lee\Image_Index\Done\" & sFileName sDestPath = "G:\Geodata\12071.FL_Lee\Image_Index\tif\" With Zip1 .FileStore.Clear .FileStore.Load sSourcePath .DoEvents = True For Each f In .FileStore Debug.Print "File " & sDestPath & f.Name & " , " & CStr(f.Size) f.Extract sDestPath & f.Name Next End With What am I doing wrong? |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted April 20, 2006 11:35 AM Hi, You must implement the Disk event handler. When the Disk event fires, provide the user with a message to change disks. Hope it helps, -ken |
| nabolotnyj robertn@landamsearch.com From: ft myers, FL USA Posts: 3 Member Since: 04/17/06 |
posted April 20, 2006 12:57 PM I appreciate the responses on how to create a spanned file, however, again: I AM NOT CREATING A SPANNED ZIP FILE. I AM ATTEMPTING TO UNZIP A SPANNED FILE. I don't have disks, all files reside on hard-drive, in the same folder. I recieve spanned files from an FTP site. The file provider spans the original files because a single file is to large to download during a single FTP session. My automated process polls each vendors FTP site, downloads zipped files, single and spanned, unzips them, and finally processes the data. Again, I am attempting to UNZIP SPANNED FILES. |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted April 21, 2006 5:22 PM Hi, I apologize for the misunderstanding. I have confirmed that the unzipping of spanned archives is not working in the most current release. I have reported this to development as issue #3794. For updates on the status of this issue, please contact David Harry (sales@dart.com). -ken |
| Reply | PowerTCP Zip Compression for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|