VintaSoftTwain Control v6.0
VintaSoftTwain Object / FtpUpload_SetProxyServerParams Method
Proxy server type.

Valid values:
Value Proxy type
1 Site hostname
2 USER after logon
3 Proxy OPEN
4 Transparent
5 USER with no logon
6 USER fireID@remotehost
7 USER remoteID@remoteHost fireID
8 USER remoteID@fireID@remoteHost
The string with proxy server host name. May be as IP address.
Proxy server port.
Proxy server user.
User password.
In This Topic
    FtpUpload_SetProxyServerParams Method
    In This Topic
    Description
    Sets parameters that should be used for connecting to FTP proxy server.
    Syntax
    Visual Basic
    Public Function FtpUpload_SetProxyServerParams( _
       ByVal proxyType As enumFtpLogOnType, _
       ByVal host As String, _
       ByVal port As Integer, _
       ByVal user As String, _
       ByVal password As String _
    ) As Boolean
    Parameters
    proxyType
    ValueDescription
    FTPLOGONTYPE_NoFirewallNo firewall/proxy.
    FTPLOGONTYPE_ProxyOpenProxy OPEN.
    FTPLOGONTYPE_SiteHostnameSite hostname.
    FTPLOGONTYPE_TransparentTransparent.
    FTPLOGONTYPE_UserAfterLogOnUSER after logon.
    FTPLOGONTYPE_UserFireIdRemoteHostUSER fireID@remotehost.
    FTPLOGONTYPE_UserRemoteIdFireIdRemoteHostUSER remoteID@fireID@remoteHost.
    FTPLOGONTYPE_UserRemoteIdRemoteHostFireIdUSER remoteID@remoteHost fireID.
    FTPLOGONTYPE_UserWithNoLogOnUSER with no logon.
    Proxy server type.

    Valid values:
    Value Proxy type
    1 Site hostname
    2 USER after logon
    3 Proxy OPEN
    4 Transparent
    5 USER with no logon
    6 USER fireID@remotehost
    7 USER remoteID@remoteHost fireID
    8 USER remoteID@fireID@remoteHost
    host
    The string with proxy server host name. May be as IP address.
    port
    Proxy server port.
    user
    Proxy server user.
    password
    User password.
    Return Type
    TRUE (1) if method is executed successfully, FALSE (0) otherwise.
    Remarks
    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