BE_FileMove

BE_FileMove ( fromPath ; toPath )

Moves the file specified in the fromPath parameter, to the location in the toPath parameter.

Note : on Mac OS X, the Move operation only works if the source and Destination are on the same volume. To move files across volumes, use a Copy and then Delete the original.

Version : 1.1
4.0.2 : Renamed from BE_MoveFile

Parameters :
fromPath : a system file path.
toPath : a system file path.

Result : 0 for a successful move, ? for an error and error number in BE_GetLastError.

Note : paths are system paths, not FileMaker paths.

Examples :

BE_FileMove ( "/Users/nick/Desktop/file.txt" ; "/Users/nick/folder/file.txt )

Still need help? Contact Us Contact Us