Don’t know if you’ve resolved what you’re trying to do here, but I have an application that can use passwords, and from the component that wraps up the unzipping, I have something similar to you.
What I do it throw an event in the catch, to get the password, then re-call that function with the same parameters, passing in the supplied password from the event. That seems to work nicely.
I think what you need to do is actually try to read then open the first file in the zip file, into a memoryfolder (theres an example with the component). The process of reading as I understand it, won’t require a password, only extraction requires it. That’s my understand if that’s any help???
Imported from legacy forums. Posted by MartinPlatt (had 3485 views)