Page 1 of 1

Updating Zip archives?

Posted: Thu Oct 08, 2015 8:16 pm
by davido
I have some Zip archives that contain up to 1000 jpegs and a text file.
I would like to update the text file from time-to-time.
Can anyone suggest the best way of doing this with PB code?

Re: Updating Zip archives?

Posted: Fri Oct 09, 2015 3:56 pm
by GPI
Write the textfile in a seperate file. Changing files in a zip is always difficult, because the format is not designed for something like this.

Re: Updating Zip archives?

Posted: Fri Oct 09, 2015 4:16 pm
by davido
@GPI,
Thank you for your sound advice. :D

Re: Updating Zip archives?

Posted: Tue Mar 29, 2016 10:07 am
by collectordave
The only way i know is to unzip the zip make your changes and then rezip.

To help I have written a quick prog available here http://www.purebasic.fr/english/viewtop ... &hilit=zip

Re: Updating Zip archives?

Posted: Tue Mar 29, 2016 11:08 am
by davido
@collectordave,

That's extremely kind of you.
I'll look forward to trying it, later. :D