FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to know the password for a ZIP
Posts: 408
Joined: Fri Jan 29, 2010 08:14 PM
How to know the password for a ZIP
Posted: Tue Apr 17, 2012 10:03 PM

Hi all:

¿Someone knows if there is any function that returns the password we have inserted a ZIP file?

commented:

I picked up the modules that had to do backup and restores program to add a password to the ZIP. When creating ZIP file saved correctly in ZIP password (if you open the ZIP file from outside the program, effectively asks password), but my problem now is that when I do the restore and check if that file contains key (with the functions the harbor is hb_ZipWithPassword (cSourceZip)), I see that there is some function to extract the ZIP password to check before unpacking if the password you have entered is = to that contained in the ZIP.

Why?

a greeting
JLL

Libreria: FWH/FWH1109 + Harbour 5.8.2 + Borland C++ 5.8.2
Editor de Recursos: PellecC
ADA, OURXDBU
S.O: XP / Win 7 /Win10
Blog: http://javierlloris.blogspot.com.es/
e-mail: javierllorisprogramador@gmail.com

Continue the discussion