home *** CD-ROM | disk | FTP | other *** search
- Attribute VB_Name = "FTP"
- 'FTP Global Variables
- Global CRLF As String
- Global TempCommFileName As String
- Global TempDataFileName As String
- Global FTPServer As String
- Global UserID As String
- Global UserPassword As String
- Global InitDir As String
- Global FTP_CommState As Integer
- Global NumberOfFiles As Integer
- Global FTPFiles() As String
- Global FTPDataPort As Integer
- Global FTPCommand As String
- Global AliasDB() As String
- Global HotListRecords As Integer
- Global DataInComm As String
- Global DataInData As String
- Global SystemCode As String
- Global RemotePath As String
- Global FileTimeStarted As String
- Global BatchTimeStarted As String
- Global BatchFiles As Integer
- Global BatchCurrentFile As Integer
- Global ConnectionLogName As String
- Global FileHandling As Integer
- Global ThisFileSize As Long
- Global SendFileName As String
- Global UserInput As String
- Global CommBuffer As String
- Global DoneTransferring As String * 1
- Global ScaleFactor As Integer
- Global MaintenanceHostName As String
-
-
- 'FTP Global Constants
- Global Const FTP_OpeningConnectionComm% = 100
- Global Const FTP_DownloadingDirectory% = 200
- Global Const FTP_DownloadingFiles% = 300
- Global Const FTP_ParseDirectory% = 510
- Global Const FTP_LoginID% = 600
- Global Const FTP_LoginPassword% = 610
- Global Const FTP_CallPASV% = 710
- Global Const FTP_ParsePASV% = 750
- Global Const FTP_SystemType% = 800
- Global Const FTP_ChangeDirectory% = 822
- Global Const FTP_Send% = 1000
- Global Const FTP_Receive% = 1001
- Global Const FTP_PrepareToSend% = 1100
- Global Const FTP_SendingFile% = 1101
- Global Const FTP_CleanupFromSend% = 1102
-
-
- ' CommState Constants for WINSOCK
- Global Const idle% = 10
- Global Const waitingforaddress% = 100
- Global Const readingdata% = 200
- Global Const waitingforread% = 210
- Global Const waitingforconnect% = 110
- Global Const waitingforwrite% = 300
- Global Const connectionclosed% = 400
- Global Const FIONREAD& = 1074030207
-
- 'Global Variables for WINSOCK
- Global StartUpInfo As WSAData
- Global DataInBuffer As String * 1024
- Global DataOutBuffer As String
- Global BufferData As String
- Global HostEntry As String * 1024
- Global IPAddress As Long
- Global SocketName As sockaddr
- Global I_SocketAddress As sockaddr_in
- Global UsedSocketComm As Integer
- Global UsedSocketData As Integer
- Global CommPort As Integer
- Global DataPort As Integer
- Global CommState As Integer
- Global DataState As Integer
-
-
-
- Declare Sub hmemcpy Lib "Kernel" (des As Any, source As Any, ByVal bytes As Long)
- Declare Sub hmemcpylong Lib "Kernel" Alias "hmemcpy" (des As Any, ByVal source As Long, ByVal bytes As Long)
- Declare Function lstrcpy Lib "Kernel" (lpString1 As Any, lpString2 As Any) As Long
-
-