Setting your remote directory

Top  Previous  Next

Your remote directory is the directory on the server from which all files will be uploaded to or downloaded from when communicating with the server and may be set using the Ftp#setDir method. If you do not define the remote directory then the remote directory will default to the directory provided upon successful login to the server.

 

Example

 

// set remote directory

ftp.setDir("/home/users/jsmith");





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

© 2021 JSCAPE LLC