Knowledge Base Ask Cody Resources



 
Can I adjust the connection timeout value and the connection and data buffer sizes?
Yes all of these are done through a registry entry so that the end user of your application may adjust these too if necessary.

The parameters used to control the behavior of the Distinct FTP-32 library are stored under the following registry path.

HKEY_LOCAL_MACHINE\SOFTWARE\Distinct\DLLS\FTP32

Timeout REG_DWORD number of seconds
Specifies the default timeout in seconds used for the FTP connection. This is the timeout value used for various network operations. The default value is 20 seconds. If you are using a serial connection you may want to increase this to 40.

BufferSize REG_DWORD number of bytes
Specifies the default buffer size in bytes used for data transfer. The default value is 32768 bytes and the permitted range is from 1024 to 32768 bytes.

CtrlBuffer REG_DWORD number of bytes
Specifies the default buffer size in bytes used for the control connection. The default value is 1024 bytes and the permitted range is 128 to 4096 bytes.







04/20/2024   Legal notices | PRIVACY Policy |