BufferSize Property

See Also

FtpDLX Class  | FtpDLX Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

JScript

Show All

See Also Requirements Languages WeOnlyDo.Client.FTP Send comments on this topic.

BufferSize Property

Determines size of incoming and outgoing buffers.

[Visual Basic]
Public Property BufferSize As Integer
[C#]
public int BufferSize {get; set;}
[JScript]
public function get,set BufferSize : int

Remarks

Using BufferSize property you can force wodFtpDLX.NET to use predefined buffer size for receiving and sending packets between wodFtpDLX.NET and the server. Usually, larger packets will give you faster transfers, but this can also depend on your connection speed, and on server's capabilities.

Besides speed of transfer, this value also determines how many times Progress event will be fired during transfer. If you're on slow connection and need Progress event to fire more times, lower BufferSize value. Internally, Progress event is fired after each packet sent/received - so making lower packets causes higher Progress event rate.

If you set BufferSize to 0 (default value), wodFtpDLX.NET will internally adjust its buffers to match server's. Usually, this will be arround 32k.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

FtpDLX Class  | FtpDLX Members

 

 


© WeOnlyDo Software. All Rights Reserved.