How to know the password for a ZIP

How to know the password for a ZIP

Postby jll-fwh » 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
User avatar
jll-fwh
 
Posts: 408
Joined: Fri Jan 29, 2010 8:14 pm
Location: Meliana - Valencia

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 113 guests