Back to product page

BufferSize property


Holds size of upload buffer.

Type

A Long value.

Syntax

  • Basic
object.BufferSize [= value]
The BufferSize(object,value) syntax has these parts:
objectAn expression evaluating to an object of type FtpUser.
valueA Long value.

Remarks

BufferSize property defines how many bytes will be sent in each turn when user is downloading a file (when wodFTPServer uploads it to the user). Since size of buffer also defines speed of transfer - but also ratio on when will Progress event be fired - you should find an optimum for this value.

It is initially set to 32768 which is maximum packet size on most systems. You can increase it up to 1 or more MB if needed, for large files and local area network connections, or lower it down for small connections - to get Progress event fired more naturally for your connection.

Platforms

Windows