Establishing a connection

Top  Previous  Next

To establish a connection to an FTP server, create an Ftp instance providing the required hostname, username and password arguments and then invoke the Ftp#connect method.

 

Example

 

// create new Ftp instance and connect

Ftp ftp = new Ftp(hostname,username,password);

ftp.connect();





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC