FileMove
Moves file from source to destination.
The destination can be a file or a directory. If the destination is a directory, the file will be moved to that directory with the same name as the source file.
Method Signature
Arguments
Argument
Type
Required
Description
Default
source
string
true
The source file path.
destination
string
true
The destination file path or directory path.
overwrite
boolean
true
Whether to overwrite the destination file if it exists. Defaults to true.
true
accept
string
false
A comma separated list of file extensions to accept - which will override runtime security settings
Examples
Move file from here to there
Additional Examples
Related
Last updated
Was this helpful?