The GetBufferSize method returns the size in bytes of an
internal buffer that will be used during data transfers.
Parameters
None.
Return Value
If the method succeeds, the return value is the size of the
internal buffer that will be used in data transfers. If the method
fails, the return value is FTP_ERROR. To get extended error
information, call GetLastError.
Remarks
The speed of data transfers, particularly on uploads, may be
sensitive to network type and configuration, and the size of the
internal buffer used for data transfers. The default size of this
buffer will result in good performance for a wide range of network
characteristics. A larger buffer will not necessarily result in
better performance. For example, a value of 1460, which is the
typical Maximum Transmission Unit (MTU), may be optimal in many
situations.
Requirements
Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools11.h
Import Library: csftpv11.lib
See Also
SetBufferSize
|