Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Java: How to connect to FTP server

Java: How to connect to FTP server

import org.apache.commons.net.ftp.FTPClient;
import java.io.IOException;
public class FTPLogin
  public static void main(String[] args) throws Exception
    FTPClient client_ftp = new FTPClient();
    // try to connect using username and password
    boolean login = client_ftp.login("admin", "******");
    // check  the connection state
    if (login)

Users who found this page were searching for:

  • how to connect to FTP with Python
  • perl ftp download files
  • javamail yahoo example
  • perl pop3 program
  • python enumerate dictionary
  • example of two swing jbuttons
  • select rows table python
  • difference dates java
  • java receive datagram

No comments yet.

Leave a Comment