Syntax
- FTPClient connect(InetAddress host, int port)
- FTPClient login(String username, String password)
- FTPClient disconnect()
- FTPReply getReplyStrings()
- boolean storeFile(String remote, InputStream local)
- OutputStream storeFileStream(String remote)
- boolean setFileType(int fileType)
- boolean completePendingCommand()
Parameters
Parameters | Details |
—— | —— |
host | Either the host name or IP address of the FTP server |
port | The FTP server port |
username | The FTP server username |
password | The FTP server password |