Page 1 of 1

Accessing compressed fields within the db3 files

PostPosted: Thu Apr 28, 2016 1:02 pm
by rwayneross
I am trying to access the data within the db3 files (to automate some NZB creations and downloading). I believe that (years ago) the compressed fields used ZLIB to decompress the data (specifically NN_CleanSubject and NN_FileData fields) but now in my new project I get an 'unknown compression method' when I try to decompress the fields. Did the compressor change for those fields (or maybe my decompress library just out of date or something)?

Thanks.

Re: Accessing compressed fields within the db3 files

PostPosted: Thu Apr 28, 2016 2:12 pm
by Quade
It's still zlib.

You might want to check if it's got a zlib header on it or not.

"CleanSubject" isn't compressed data. It's a hash.

NN_FileData is compressed with Zlib.

Also keep in mind that starting with 6.70 the StorageData is going away on all new groups. Instead the FileData data will be stored with the rest of the data. It'll still be used for existing groups so there's no conversion.