Renaming a file

Top  Previous  Next

You can rename a file using the Sftp#renameFile method providing the current file name and the new file name.

 

Example

 

// rename file image.gif to image.gif.old

sftp.renameFile("image.gif","image.gif.old");





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

© 2021 JSCAPE LLC