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:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Reads a file and writes it elsewhere.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Files | 11.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
SourcePath | The native path to the file to be copied. | "/Users/John/Desktop/test.txt" |
DestPath | The native path to the target file to write. | "/Users/John/Desktop/Backup/" |
Returns OK or error.
Copy a file:
MBS( "Files.ReadAndWriteFile"; "/Users/cs/Desktop/test.dmg"; "/Users/cs/Desktop/test2.dmg" )
This function is free to use.
Created 16th February 2021, last changed 4th August 2023