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: Qzip'd File Unavailable On FSO.getfile()
BrianRHarris

From: Chicago, IL USA
Posts: 1
Member Since: 07/26/02
posted July 26, 2002 1:57 PM

Hi,

I have a process creating a quickzip file, and I need to determine the exact byte count (for use in ensuring the entire file gets FTPd correctly later in the process).

When I attempt to create a File object in VB6, the application does not recognize that the zip file has been created (though I've verified thoroughly that it has been).

Here is the problem statement:

Set oFile=oFSO.getfile(gsTmpDir & "\" & gsZipName)

Any ideas??

Thanks
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted July 26, 2002 5:18 PM

Hi,
In VB you can use the FileLen method. The below code works for me.
-ken

Zip1.QuickZip "c:\KDTest\*", App.Path & "\test.zip", True, True
Debug.Print FileLen(App.Path & "\test.zip")
Reply | PowerTCP Zip Compression for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX