Programming with Reflection

image\rwnprg32.gif WRQCompression property



object.WRQCompression = Value

Works with


Data type




Returns (first syntax line) or specifies (second syntax line) how file compression is handled.

File compression speeds up file transfers. Huffman compression uses considerable processing power on the host and the local computer, but compresses very effectively. For most users, rcHuffman is recommended. Users with a very fast datacomm link or less computing power might prefer to use rcRLE (run-length compression) or rcNone (no compression). You can try comparing transfer times using different compression values.

Compression is not always appropriate. For example, if you use Reflection 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, Reflection attempts to do fast file transfers. If a fast file transfer takes place, the WRQCompression property is ignored.

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


The default value is rcHuffman.

rcHuffman Perform Huffman compression on transfers.

rcNone Perform no compression on transfers.

rcRLE Perform run-length compression on transfers.



image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this property