Changes between Version 8 and Version 9 of FileCompression


Ignore:
Timestamp:
Mar 4, 2008, 11:01:15 AM (16 years ago)
Author:
Nicolas
Comment:

Clarify the code is for server-side, and format

Legend:

Unmodified
Added
Removed
Modified
  • FileCompression

    v8 v9  
    55If 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.
    66
    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 
     7The 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
    910int read_gzip_file_string(string file, string* result) {
    1011    FILE *infile;
     
    3334    return 0;
    3435}
     36}}}
    3537
    3638This will automatically uncompress the file if it is compressed or it will open it without modification if it is not compressed.
    37 
    3839
    3940== Compression of input files == #compress-input