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: How to uncompres to stream when the zipfile is password protected
Wim

From: Alphen aan den Rijn, Netherlands
Posts: 23
Member Since: 06/22/05
posted October 12, 2009 10:41 AM

Hello,
We have a zipfile encrypted with AES256 using your control. Now we want to extract a file into a textstream in VB6. It is not clear where to 'insert' the password to be used. Do you have some sample code?

  Zip1.FileStore.Clear
  Zip1.FileStore.Load OutFileName
  Zip1.FileStore.pas
  Zip1.FileStore.Unzip streams

Here we gat an error 'Password invalid"
Wim

From: Alphen aan den Rijn, Netherlands
Posts: 23
Member Since: 06/22/05
posted October 12, 2009 10:42 AM

Sorry, the code should read:

  Zip1.FileStore.Clear
  Zip1.FileStore.Load OutFileName
  Zip1.FileStore.Unzip streams
Wim

From: Alphen aan den Rijn, Netherlands
Posts: 23
Member Since: 06/22/05
posted October 12, 2009 10:47 AM

Oops, problem solved. You can put the password in the .Unzip method but you have to skip 2 optional fields to get to the password field..... (and not 1!!)
Reply | PowerTCP Zip Compression for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX