Downloading directories

Top  Previous  Next

To download a directory the Scp#downloadDir method.

 

Example

 

// set local directory

File localDir = new File("C:/tmp");

scp.setLocalDir(localDir);

 

// download remote directory to local directory

scp.downloadDir("/home/jsmith/","images");

 

 

Example

 

// set local directory

File localDir = new File("C:/tmp");

scp.setLocalDir(localDir);

 

// download remote directory to local directory

scp.downloadDir("/home/jsmith/","images");

 

 

 





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

© 2021 JSCAPE LLC