e-CryptIt Engine - Compression Xojo Plugin |

# ZipArchiveReader.GetArchiveWriter Method (console safe)

Converts ZipArchiveReader to ZipArchiveWriter. This function is good to use to add entries to existing Zip file.

GetArchiveWriter() as ZipArchiveWriter

#### Parameters

#### Returns

ZipArchiveWriter
  A ZipArchiveWriter or nil if there was a error. (Use the LastError property to get hint on what error)

#### Remarks

This function is good to use to add entries to existing Zip file, then you first read the file, and then convert it to writer and then add entries.
Note that once a reader is converted to writer like this then the Reader object will get closed status and it will no longer be usable, but the writer object remains alive.

#### See Also

ZipArchiveReader Class