Admin Production rocket
Current Publication

WRQCompression Property

InfoConnect Desktop InfoConnect .NET API Guide V18.0.1
Rocket® InfoConnect Desktop (formerly a product of Micro Focus or formerly a product of Open Text) documentation that was created prior to Rocket Software's acquisition of certain products from OpenText may contain outdated references to "Micro Focus” or “OpenText”, which are trademarks of OpenText. Rocket Software is not affiliated with Micro Focus or OpenText and has rebranded these products as Rocket® products.
WRQCompression Property
In This Topic
Returns or specifies how file compression is handled.
Syntax

                     
                     
'Declaration
 

                     
                     
Property WRQCompression As WRQCompressionOption

                  

                     
                     
'Usage
 

                     
                     
Dim instance As IFileTransfer
Dim value As WRQCompressionOption
 
instance.WRQCompression = value
 
value = instance.WRQCompression

                  

                     
                     
WRQCompressionOption WRQCompression {get; set;}

                  
Remarks

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, WRQCompressionOption.Huffman is recommended. Users with a very fast datacomm link or less computing power might prefer to use WRQCompressionOption.RLE (run-length compression) or WRQCompressionOption.None (no compression). You can try comparing transfer times using different compression values.

Compression is not always appropriate. For example, 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. I f 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 WRQCompressionOption.Huffman. WRQCompressionOption.Huffman Perform Huffman compression on transfers. WRQCompressionOption.None Perform no compression on transfers. WRQCompressionOption.RLE Perform run-length compression on transfers.

See Also