Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / FileTransfer Object / WRQCompression Property
In This Topic
    WRQCompression Property
    In This Topic
    Returns or specifies how file compression is handled.
    expression.WRQCompression As WRQCompressionOption
    where expression is a variable that represents a FileTransfer Object

    Property Value

    A WRQCompressionOption value
    In general, file compression speeds up file transfers. For most users, WRQCompressionOption.Huffman is recommended. Huffman compression uses considerable processing power on the host and the local computer, but compresses very effectively. Users with very fast datacomm links or less computing power might prefer WRQCompressionOption.RLE (run-length compression) or WRQCompressionOption.None (no compression). You can compare transfer times using different compression values.

    Compression is not always appropriate. If you use compression to transfer a file that's already in a compressed format, you can slow the transfer. If the WRQFastFileTransfer property is set to true, fast file transfers are attempted, which ignore the WRQCompression property.

    This property is relevant only for transfers that use the WRQ/Reflection protocol.

    The default value is WRQCompressionOption.Huffman.

    • Performs Huffman compression on transfers.
    • Performs no compression on transfers.
    • Performs run-length compression on transfers.
    See Also