FTP (File Transfer Protocol)

Download java eBook


  • 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()


hostEither the host name or IP address of the FTP server
portThe FTP server port
usernameThe FTP server username
passwordThe FTP server password

Related Examples


139 Contributors: 1
Friday, August 5, 2016
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook