cfclient.file.move

Moving a file

You can move a file from one location to another location on the device by using the move function as shown in the following example:

<cfset fileobj=cfclient.file.move(source,destination)>

Method summary

move(source, destination) – moves a  file from source to destination

  • returns - FileEntry object
  • params

-          source – Absolute or relative path of  the source filename (including the file name)

-          destination – Absolute or relative path of  the destination filename (including the file name)

Get help faster and easier

New user?