wodSFTP ActiveX Control - BufferSize Property
      
 

Description

Determines size of incoming and outgoing buffers.


Property type

A Long value.  Specifies buffer size.


Syntax

object.BufferSize [= value]



The BufferSize Property syntax has these parts:

Part Description
object An expression evaluating to an object of type wodSFTP.
value A Long value.

Remarks

Using the BufferSize property you can force wodSFTP to use a predefined buffer size for receiving and sending packets between wodSFTP and the server. Larger packets will usually give you faster transfers but this can also depend on your connection speed and on the server's capabilities.

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

If you set BufferSize to 0 (default value), wodSFTP will internally adjust its buffers to match the server's. This will usually be 32k buffers.