Back to product page
- Introduction
- Overview
- License agreement
- Getting Started
- Objects
- Enumerations
- wodSFTP
- Methods
- Abort
- About
- AppendData
- AppendFile
- Connect
- DeleteFile
- DeleteFiles
- Disconnect
- ExtendedCmd
- GetAttributes
- GetData
- GetDataAt
- GetFile
- GetFileAt
- GetFiles
- ListAttributes
- ListDir
- ListNames
- LoopFiles
- MakeDir
- PutData
- PutDataAt
- PutFile
- PutFileAt
- PutFiles
- RealPath
- RemoteClose
- RemoteOpen
- RemoteRead
- RemoteWrite
- RemoveDir
- Rename
- SetAttributes
- SetAttributes64
- Properties
- Authentication
- Blocking
- BufferSize
- ClientName
- Compression
- Encryption
- EncryptionList
- ErrorText
- Extensions
- FingerPrint
- FIPS
- HMacList
- Hostname
- KeepAlives
- KeyExchangeList
- KeySignatureList
- LastError
- ListItem
- LocalPath
- Login
- MaxTransferRate
- MyHostname
- MyIP
- Notification
- Password
- Port
- PrivateKey
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemoteIdentification
- RemotePath
- Resume
- ServerErrorCode
- ServerErrorText
- State
- StateText
- Timeout
- Timezone
- TransferMode
- TransferRate
- TransferTime
- UseIPv6
- Version
- Events
- Methods
- IwodSFTPNotify
- SftpItem
- SftpItems
- How to get support?
- Technical information
- Fast notifications interface
- Error list
BufferSize property
Determines size of incoming and outgoing buffers.
Type
A Long value. Specifies buffer size.Syntax
- Basic
object.BufferSize [= value]
The BufferSize(object,value) syntax has these parts:
The BufferSize(object,value) syntax has these parts:
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.