Distinct offers Network Monitor, the ONLY natural language Protocol Analyzer, ONC RPC for C++, .NET and Java, and IntelliTerm, the fastest Terminal Emulator for TN3270, TN5250 and VT420 on the market.

Distinct VIT: Ftp Client: D_FTP.TXT

   Products   Downloads   Sales   Support   About us
  VIT



        
 
The following provides a complete listing of the D_FTP.TXT definition file. If your application uses more than one Distinct ActiveX control in the same form, then some definitions will conflict. For example, the FTP Client ActiveX control includes the definition

Global Const ACTION_DISCONNECT = 3

in the D_FTP.TXT file and the Telnet ActiveX control includes the definition

Global Const ACTION_DISCONNECT = 2

in the D_TNET.TXT file. To avoid this conflict, you must rename at least one of the constants (for example, FTP_ACTION_DISCONNECT or TNET_ACTION_DISCONNECT).

' FTP Client ActiveX Control
' (C) Copyright 1995 - 1998 by Distinct Corporation
' All rights reserved

' actions
Global Const ACTION_NONE = 0
Global Const ACTION_ABORT = 1
Global Const ACTION_CONNECT = 2
Global Const ACTION_DISCONNECT = 3
Global Const ACTION_FW_CONNECT = 4
Global Const ACTION_CANCEL = 5

Global Const FILE_ACTION_NONE = 0
Global Const FILE_ACTION_ABORT = 1
Global Const FILE_ACTION_DELETE = 2
Global Const FILE_ACTION_GET = 3
Global Const FILE_ACTION_PUT = 4
Global Const FILE_ACTION_RENAME = 5
Global Const FILE_ACTION_APPEND = 6
Global Const FILE_ACTION_REMOTE = 7
Global Const FILE_ACTION_REMOTE_APPEND = 8

Global Const DIR_ACTION_NONE = 0
Global Const DIR_ACTION_ABORT = 1
Global Const DIR_ACTION_CHANGE = 2
Global Const DIR_ACTION_CREATE = 3
Global Const DIR_ACTION_DELETE = 4
Global Const DIR_ACTION_LIST = 5
Global Const DIR_ACTION_PARENT = 6
Global Const DIR_ACTION_RENAME = 7

' modes
Global Const TRANSFER_TYPE_ASCII = 0
Global Const TRANSFER_TYPE_BINARY = 1

Global Const TRANSFER_MODE_FILE = 0
Global Const TRANSFER_MODE_EVENT = 1

Global Const LIST_TYPE_SHORT = 0
Global Const LIST_TYPE_LONG = 1

Global Const PROXY_TYPE_NONE = 0
Global Const PROXY_TYPE_HTTP = 1

Global Const TRANSMISSION_MODE_STREAM = 0
Global Const TRANSMISSION_MODE_BLOCK = 1

' the address type of the destination host
Global Const FW_ADDR_IP4 = 1
Global Const FW_ADDR_DNS = 3
Global Const FW_ADDR_IP6 = 4

'the firewall server version
Global Const FW_VERSION5 = 2
Global Const FW_VERSION4 = 4

' result
Global Const FTP_OK = 0
Global Const FTP_ERROR = 1
Global Const FTP_CONN_CLOSED = 3
Global Const FTP_NO_ENTRY = -1
Global Const FTP_BAD_FILE_TYPE = -2
Global Const FTP_NOT_CONNECTED = -3
Global Const FTP_BAD_ARGUMENT = -4
Global Const FTP_BAD_COMMAND = -5
Global Const FTP_FILE_ERROR = -6
Global Const FTP_DATA_CONN_ERR = -7
Global Const FTP_ACCEPT_ERR = -8
Global Const FTP_REPLY_TIMEOUT = -10
Global Const FTP_ACCEPT_TIMEOUT = -11
Global Const FTP_SEND_TIMEOUT = -12
Global Const FTP_CANCELLED = -13
Global Const FTP_BUSY = -14
Global Const FTP_DATA_TIMEOUT = -15
Global Const FTP_PASSIVE_FAILED = -16
Global Const FTP_CONNECT_ERR = -17
Global Const FTP_FIREWALL_ERR = -18
Global Const FTP_DSTNCT32_ERROR = 1000
Global Const FTP_WSASTARTUP_ERROR = 1001
Global Const FTP_SYSTEM_ERROR = 1002
Global Const FTP_INVALID_HOSTNAME = 1003
Global Const FTP_SOCKET_ERROR = 1004
Global Const FTP_BIND_ERROR = 1005
Global Const FTP_CONNECT_ERROR = 1006
Global Const FTP_ASYNC_ERROR = 1007
Global Const FTP_MAX_CONNECTIONS = 1008
Global Const FTP_OOB_ERROR = 1009

' error codes
Global Const ERR_CANNOT_CHANGE_XFER_TYPE = 1
Global Const ERR_CANNOT_CHANGE_XFER_MODE = 2
Global Const ERR_CANNOT_CHANGE_LIST_TYPE = 3
Global Const ERR_CANNOT_CHANGE_PORT = 4
Global Const ERR_PORT_UNDEFINED = 5
Global Const ERR_HOST_UNDEFINED = 6
Global Const ERR_IN_TRANSFER = 7
Global Const ERR_CANNOT_CONNECT = 8
Global Const ERR_NEED_ACCOUNT = 9
Global Const ERR_CANNOT_LOG_IN = 10
Global Const ERR_NOT_CONNECTED = 11
Global Const ERR_IN_ACTION = 12
Global Const ERR_NO_DIR_TARGET = 13
Global Const ERR_NO_NEW_DIR_NAME = 14
Global Const ERR_NO_FILE_TARGET = 15
Global Const ERR_NO_NEW_FILE_NAME = 16
Global Const ERR_NO_REMOTE_FILE = 17
Global Const ERR_NO_LOCAL_FILE = 18
Global Const ERR_CANNOT_OPEN_LOCAL_FILE = 19
Global Const ERR_UNABLE_TO_LOAD = 20
Global Const ERR_FW_SERVER_NOT_DEFINED = 21
Global Const ERR_CANNOT_CHANGE_PROXY_TYPE = 22
Global Const ERR_CANNOT_CHANGE_TRANSMISSION_MODE = 23
Global Const ERR_NO_LOCAL_DIR = 24
Global Const ERR_CANNOT_CREATE_MARKER_FILE = 25
Global Const ERR_CANNOT_CHANGE_HOST_TYPE = 26
Global Const ERR_CANNOT_CHANGE_BLOCK_SIZE = 27
Global Const ERR_CANNOT_CHANGE_MARKER_FREQUENCY = 28
Global Const ERR_CANNOT_CHANGE_RETRY_COUNT = 29
Global Const ERR_NO_LIST_LINE = 30

'server types
Global Const SERVER_AUTODETECT = 0
Global Const SERVER_UNIX = 1
Global Const SERVER_ULTRIX = 2
Global Const SERVER_VMS_UCX = 3
Global Const SERVER_DISTINCT = 4
Global Const SERVER_FTP_DOS = 5
Global Const SERVER_DOS = 6
Global Const SERVER_IBM_VM = 7
Global Const SERVER_IBM_AIX = 8
Global Const SERVER_VMS_MULTINET = 9
Global Const SERVER_VMS_FUSION = 10
Global Const SERVER_VMS_WGONG = 11
Global Const SERVER_VMS_UCX_2 = 12
Global Const SERVER_IBM_MVS_2 = 13
Global Const SERVER_IBM_MVS_3 = 14
Global Const SERVER_IBM_OS2 = 15
Global Const SERVER_VMS_PROCESS = 16
Global Const SERVER_IBM_AS_400 = 17
Global Const SERVER_IBM_MVS_4 = 18
Global Const SERVER_IBM_AS_400_3 = 19
Global Const SERVER_WINDOWS_NT = 20



Browse FAQ

Related Products
Mail Objects

Recommended Add-On
Network Monitor,
Protocol Analyzer


Raves
"The night before I went on summer holiday we had to make some 'last minute' configuration changes to approx. 300 routers, a tedious job to do manually with telnet. We went along with MS Excel containing a list of IP-adresses to the routers, and the VIT telnet-component. One hour later the VBA-application (small is beautiful) was working, and after another hour all of our routers were updated with the new configuration. I just say a big "Thanks" to you all for a good sleep that night."
Eirik Brendholen, Ergo Integration AS

"We conducted a test session to compare the performance of similar products, and Distinct's product was better!" [more]
Dr. Shyam Sunder, Carnegie Mellon University

"Together with Distinct, we were able to offer our users an ideal soution to enabling them to connect to Yahoo! Pager, and to do so both quickly and reliably." [more]
Brian Park,
Producer of Yahoo! Pager, Yahoo! Inc.


  9/8/2008   Legal notices | PRIVACY Policy | Networking News |