Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
11.4
11.5
12.0
12.1
12.2
12.3
12.4
12.5
13.0
13.1
Statistic
FMM
Blog
Files.CopyFiles
Copies multiple files in parallel.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Files | 10.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |
Parameters
Parameter | Description | Example |
---|---|---|
SourcePaths | The list of native paths to the file or folder to be copied. | "/Users/John/Desktop/test.txt" |
DestPaths | The list of native paths to the destination folder or file. | "/Users/John/Desktop/Backup/" |
Overwrite | Mac only: Whether to allow overwriting existing files. Default is off. Pass 1 to enable and 0 to disable. (ignored on other platforms) |
1 |
Result
Returns OK or error.
Description
Copies multiple files in parallel.Please avoid this for spinning hard disk as it may be slower to copy in parallel compared to serial.
Examples
Copy files:
MBS("Files.CopyFiles";
"/Users/cs/Downloads/Filme/testE04.mp4¶/Users/cs/Downloads/Filme/testE02.mp4¶/Users/cs/Downloads/Filme/testE03.mp4¶/Users/cs/Downloads/Filme/testE01.mp4";
"/Users/cs/Desktop/testE04.mp4¶/Users/cs/Desktop/testE02.mp4¶/Users/cs/Desktop/testE03.mp4¶/Users/cs/Desktop/testE01.mp4"; 1)
See also
Release notes
- Version 10.0
- Added Files.CopyFiles function.
- Fixed crashes with Files.CopyFiles function with invalid paths.
Blog Entries
- New in the MBS FileMaker Plugin 10.0
- Neues MBS FileMaker Plugin 10.0
- MBS FileMaker Plugin 10.0 - More than 6000 Functions In One Plugin
- MBS FileMaker Plugin, version 10.0pr7
- MBS FileMaker Plugin, version 9.6pr3
FileMaker Magazin
This function checks for a paid license.
Created 14th December 2019, last changed 14th December 2019
