Changes between Version 8 and Version 9 of FileCompression
- Timestamp:
- Mar 4, 2008, 11:01:15 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FileCompression
v8 v9 5 5 If you include the `<gzip_when_done>` tag in an [XmlFormat#Files output file description], the file will be gzip-compressed after it has been generated. 6 6 7 The gzip_when_done is only supported in client version 5.8 (version # needs to be confirmed) and more recently. If you will receive files from clients that do not support the gzip_when_done flag then you should open the files with a function similar to this: 8 7 The gzip_when_done is only supported in client version 5.8 (version # needs to be confirmed) and more recently. If you will receive files from clients that do not support the gzip_when_done flag then you should open the files with a function similar to this to your validator/assimilator: 8 {{{ 9 #!cpp 9 10 int read_gzip_file_string(string file, string* result) { 10 11 FILE *infile; … … 33 34 return 0; 34 35 } 36 }}} 35 37 36 38 This will automatically uncompress the file if it is compressed or it will open it without modification if it is not compressed. 37 38 39 39 40 == Compression of input files == #compress-input