Sets the passive/active method of transfer the image to the server. Default value is FALSE.
Specifies the timeout period assigned to the read-write operations with server. Default value is 20 seconds.
In This Topic
FtpUpload_SetServerAdvancedParams Method
In This Topic
Description
Sets advanced parameters that should be used for connecting to FTP server.
Syntax
Visual Basic
Public Sub FtpUpload_SetServerAdvancedParams( _
ByVal passiveMode As Boolean, _
ByVal timeout As Long _
)
Parameters
passiveMode
Sets the passive/active method of transfer the image to the server. Default value is FALSE.
timeout
Specifies the timeout period assigned to the read-write operations with server. Default value is 20 seconds.
Remarks
The timeout value can help to upload image onto FTP server if you have slow or unstable connection. Simply increase this value. Big value of this property not reduces connection speed.
Information about error that occurs during method execution can be get using the Error and ErrorString properties.
Example
TWAIN Advanced Demo demonstrates how to acquire image from scanner and upload it onto FTP server.