Setting your local directory

Top  Previous  Next

Your local directory is the relative path from which all files will be uploaded from or downloaded to when communicating with the server and may be set using the Ftps#setLocalDir method. If you do not define the local directory the local directory will default to the directory from which the Java™ VM was instantiated.

 

Example

 

// set local directory

ftps.setLocalDir(new File("c:/tmp"));  





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

© 2021 JSCAPE LLC