FTP.renameFile() | This page was last modified over 30 day(s) ago and has 0 comment(s)
|
Back to FTP Class Summary |
Availability |
Windows, Mac OSX, Linux |
Usage |
ftpInstance.renameFile(currentFilename:String, newFilename:String):Void |
Parameters |
currentFilename:String - File(s) to rename newFilename:String - New name(s) for file(s) |
Returns |
Nothing |
Description |
Renames the specified file(s). |
Notes |
To rename multiple files, delimit filenames with a pipe charcter "|". This command can also be used to rename folders. |
Example Code |
//Renames the file "myFile.txt": myFTP.renameFile("myFile.txt", "myRenamedFile.txt"); //Rename the files "a.txt", "b.txt" and "c.txt": myFTP.renameFile("a.txt|b.txt|c.txt", "1.txt|2.txt|3.txt"); |
mdm.FTP Class Example Downloads |
No Example Downloads Available |
![]() |
Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here |
After Logging In, Click Here to Refresh This Page |