VintaSoftTwain Control v6.0
VintaSoftTwain Object / FtpUpload_SetServerParams Method
The string with FTP server host name. May be as IP address.
FTP server port.
FTP server user.
User password.
Account on FTP server. Is used only when the proxy server is used.
In This Topic
    FtpUpload_SetServerParams Method
    In This Topic
    Description
    Sets parameters that should be used for connecting to FTP server.
    Syntax
    Visual Basic
    Public Function FtpUpload_SetServerParams( _
       ByVal host As String, _
       ByVal port As Integer, _
       ByVal user As String, _
       ByVal password As String, _
       ByVal account As String _
    ) As Boolean
    Parameters
    host
    The string with FTP server host name. May be as IP address.
    port
    FTP server port.
    user
    FTP server user.
    password
    User password.
    account
    Account on FTP server. Is used only when the proxy server is used.
    Return Type
    TRUE (1) if method is executed successfully, FALSE (0) otherwise.
    Remarks
    Advanced parameters of connecting to FTP server can be set using FtpUpload_SetServerAdvancedParams method. The proxy server parameters can be set using FtpUpload_SetProxyServerParams method.

    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.
    See Also