Unit ftpsend
Variáveis
Descrição
Uses
Visão Geral
Classes, Interfaces, Objetos e Registros
Nome | Descrição |
---|---|
Classe TFTPListRec |
Object for holding file information |
Classe TFTPList |
This is TList of TFTPListRec objects. |
Classe TFTPSend |
Implementation of FTP protocol. |
Funções e Procedimentos
function FtpGetFile(const IP, Port, FileName, LocalFile, User, Pass: string): Boolean; |
function FtpPutFile(const IP, Port, FileName, LocalFile, User, Pass: string): Boolean; |
function FtpInterServerTransfer( const FromIP, FromPort, FromFile, FromUser, FromPass: string; const ToIP, ToPort, ToFile, ToUser, ToPass: string): Boolean; |
Tipos
TLogonActions = array [0..17] of byte; |
TFTPStatus = procedure(Sender: TObject; Response: Boolean; const Value: string) of object; |
TFTPRecList = TList; |
Constantes
cFtpProtocol = '21'; |
cFtpDataProtocol = '20'; |
FTP_OK = 255; |
FTP_ERR = 254; |
Descrição
Funções e Procedimentos
function FtpGetFile(const IP, Port, FileName, LocalFile, User, Pass: string): Boolean; |
A very useful function, and example of use can be found in the TFtpSend object. Dowload specified file from FTP server to LocalFile. |
function FtpPutFile(const IP, Port, FileName, LocalFile, User, Pass: string): Boolean; |
A very useful function, and example of use can be found in the TFtpSend object. Upload specified LocalFile to FTP server. |
function FtpInterServerTransfer( const FromIP, FromPort, FromFile, FromUser, FromPass: string; const ToIP, ToPort, ToFile, ToUser, ToPass: string): Boolean; |
A very useful function, and example of use can be found in the TFtpSend object. Initiate transfer of file between two FTP servers. |
Tipos
TLogonActions = array [0..17] of byte; |
Array for holding definition of logon sequence. |
TFTPStatus = procedure(Sender: TObject; Response: Boolean; const Value: string) of object; |
Procedural type for OnStatus event. Sender is calling TFTPSend object. Value is FTP command or reply to this comand. (if it is reply, Response is |
TFTPRecList = TList; |
Constantes
cFtpProtocol = '21'; |
cFtpDataProtocol = '20'; |
FTP_OK = 255; |
Terminating value for TLogonActions |
FTP_ERR = 254; |
Terminating value for TLogonActions |
Gerado por PasDoc 0.16.0.