YedFtpPipe object
YedFtpPipe object allows
developer to interact with an FTP server driving FTP
client application '/usr/bin/ftp'
with a communication pipe. This object masks all the complexity of FTP
to the application, because it drives FTP client '/usr/bin/ftp'
with the same command interface. Instead of opening a tcp channel to an FTP
server and using directly FTP protocol, you can use this object
and send to an FTP server commands like 'ls
-la', exactly as you should do with '/usr/bin/ftp'
application. This object is so very useful in performing simple FTP
operation with an FTP server, like sending or receiving files.
YedFtpPipe public attributes
are:
- siTimeout: set
timeout in command reply
YedFtpPipe public methods
are:
- Get_User: returns
user name used in FTP connection
- Set_User: sets
user name used in FTP connection
- Get_Passwd: returns
password used in FTP connection
- Set_Passwd: sets
password used in FTP connection
- Get_Host: returns
host name/IP used in FTP connection
- Set_Host: sets
host name/IP used in FTP connection
- Open_Connection: open
a connection to FTP server
- Put_File: put
a file in FTP server
- Get_File: get
a file from FTP server
- Close_Connection: close
connection to FTP server
- Get_Cmd_Duration: returns
time elapsed in execution of last command
- Send_Cmd: send
a command to FTP server using '/usr/bin/ftp' command interface
- Get_Cmd_Status: returns
command status and/or command buffer
http://yed.sourceforge.net