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: Filesize of 0 after adding a datastream |
jgruiz75 From: SF, CA USA Posts: 2 Member Since: 04/18/05 |
posted April 18, 2005 7:17 AM I have an byte array theData and am reading it into a dartStream as shown below Set dataStream = Server.CreateObject("Dart.DartStream.1") dataStream.Read theData Using UBound(theData) I know there is content in the data but after i peform the following lines Zip1.FileStore.Clear Zip1.FileStore.Add dataStream Response.Write(Zip1.FileStore(1).Size) I get a size of 0 and when i zip the file i recieve a zip file with 1 file but of 0 bytes Anyone have any suggestions? |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted April 18, 2005 5:08 PM Hi, You need to Write to the DartStream, not Read from it. -ken |
jgruiz75 From: SF, CA USA Posts: 2 Member Since: 04/18/05 |
posted April 18, 2005 5:14 PM Thanks Ken. I'm an idiot. |
Reply | PowerTCP Zip Compression for ActiveX Topics | Forums |
This site is powered by
![]() |