Attachmate Reflection 2014 .NET API Reference
WRQCompression Property


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;}

Property Value

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.
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 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. 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.
Requirements

Target Platforms: Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP, Microsoft Windows Server 2003 Terminal Services, Microsoft Windows Server 2008 Terminal Services

See Also

Reference

IFileTransfer Interface
IFileTransfer Members

Send Feedback