Renaming a file

Top  Previous  Next

You can rename a file using the Ftp#renameFile method providing the current file name and the new file name. All filenames are relative to your current remote directory.

 

Example

 

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

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

 

 

See also

 

Setting your remote directory





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

© 2021 JSCAPE LLC