FTP.moveFile() 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.moveFile(filename:String, dir:String):Void

Parameters
filename:String - Name of file(s) to be moved

dir:String - Name of the directory to move the file into

Returns
Nothing

Description
Moves the specified file to the specified folder on the FTP Server.

Notes
To move multiple files, delimit filenames with a pipe charcter "|".

Example Code
//Moves the file "myFile.txt" to the Folder called "Files":
myFTP.moveFile("myFile.txt", "Files");

//Moves the files "myFileA.txt" and "myFileB.txt" into the folder called "Files":
myFTP.moveFile("myFileA.txt|myFileB.txt", "Files");

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