Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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