Skip to content

piBufferSize - InetTransfer

Specifies the size of the file transfer buffer

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Syntax

Property Integer piBufferSize
Access Type Syntax
Read Access: Get piBufferSize to IntegerVariable
Write Access: Set piBufferSize to IntegerVariable/Value

Description

piBufferSize specifies the size of the file transfer buffer. The cHttpTransfer class tries to transfer the file in chunks of BufferSize bytes at the time. The OnDataReceive event is triggered after each successful transfer of BufferSize bytes.

When used with cHttpTransfer class, default is 1024. When used with cFtpTransfer class, default is 8192.