PureZIP library : ZIP / UNZIP files
Moderator: gnozal
-
- Enthusiast
- Posts: 746
- Joined: Fri Jul 14, 2006 8:53 pm
- Location: Malta
- Contact:
does pureZIP lib work under linux ?
I may not help with your coding
Just ask about mental issues!
http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
Just ask about mental issues!
http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
No.kinglestat wrote:does pureZIP lib work under linux ?
(Uses ZLIB static lib for windows and some API functions.)
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
**OFF TOPIC (apologies!)
I swear Gnozal is a machine, he can't be human!
How does one man hold down a job (family perhaps as well?) and produce, as a hobby, so much code?
Yea, he's really a multi-core multi-processor server sat in Fred's office, covered in coffee with a plant pot to one side and a dart board attached to the other for when Fred get's tired of coding!
Either that or the drugs really do work!
Thanks man.
(Sorry for the off-topic post here.)
I swear Gnozal is a machine, he can't be human!
How does one man hold down a job (family perhaps as well?) and produce, as a hobby, so much code?

Yea, he's really a multi-core multi-processor server sat in Fred's office, covered in coffee with a plant pot to one side and a dart board attached to the other for when Fred get's tired of coding!
Either that or the drugs really do work!

Thanks man.
(Sorry for the off-topic post here.)
I may look like a mule, but I'm not a complete ass.
-
- Enthusiast
- Posts: 746
- Joined: Fri Jul 14, 2006 8:53 pm
- Location: Malta
- Contact:
well, srod, I suspect you are just too modest 
both of you are just bloody geniuses
I'm just bloody.....blasted pot holes!

both of you are just bloody geniuses
I'm just bloody.....blasted pot holes!
I may not help with your coding
Just ask about mental issues!
http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
Just ask about mental issues!
http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Could you do a PB4.20B1 version of this lib, on PB4.20B1 there is a POLINK error as the Mid command has been changed?
Thanks.
Thanks.

https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Sure : http://freenet-homepage.de/gnozal/PureZIP___.zipDoubleDutch wrote:Could you do a PB4.20B1 version of this lib, on PB4.20B1 there is a POLINK error as the Mid command has been changed?
Thanks.
Just recompiled with PB4.20 beta 1, not tested.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Yes, some other user librairies are broken.Fangbeast wrote:That POLINK _Mid_ problem showed up in a few other libs as well. otherwise, this pb edition seems quite stable for me.
I will release a specific PB4.20 version of my libs if needed for PB4.20 final, or for any PB4.20 beta on request.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Thanks. 

https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
Is it possible to add a file to an archive at a specified location?
Let's say I have a zip archive that looks like this:
Is it possible to manually add a file to the Folder 1 or Folder 2 locations inside the archive without extraction all the files?
Let's say I have a zip archive that looks like this:
Code: Select all
ROOT
|-Folder 1
|----File 1
|----File 2
|-Folder 2
|----File 3
|----File 4
|-File 1
|-File 2
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Kind of, if your file is in folder 'Folder 1' on the disk.GeoTrail wrote:Is it possible to add a file to an archive at a specified location?
Example 1 :
Code: Select all
If PureZIP_Archive_Create("c:\Test.zip", #APPEND_STATUS_CREATE)
PureZIP_Archive_Compress("c:\PureBasic410\Compilers\PBCompiler.exe", #True)
PureZIP_Archive_Close()
EndIf
;
; we have a zip file with this structure :
; PureBasic410
; |
; ---Compilers
; |
; --PBCompiler.exe
;
; Now we want to add APIFunctionListing.txt into compilers
;
If PureZIP_Archive_Create("c:\Test.zip", #APPEND_STATUS_ADDINZIP)
PureZIP_Archive_Compress("c:\PureBasic410\Compilers\APIFunctionListing.txt", #True)
PureZIP_Archive_Close()
EndIf
; we have a zip file with this structure :
; PureBasic410
; |
; ---Compilers
; |
; --PBCompiler.exe
; --APIFunctionListing.txt
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Please see link (8 posts above) 

https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system