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?
Updating Zip archives?
Updating Zip archives?
DE AA EB
Re: Updating Zip archives?
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.
-
- Addict
- Posts: 1310
- Joined: Fri Aug 28, 2015 6:10 pm
- Location: Portugal
Re: Updating Zip archives?
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
To help I have written a quick prog available here http://www.purebasic.fr/english/viewtop ... &hilit=zip
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
Re: Updating Zip archives?
@collectordave,
That's extremely kind of you.
I'll look forward to trying it, later.
That's extremely kind of you.
I'll look forward to trying it, later.

DE AA EB