remoteFilePath | File Path. |
data | File contents. |
Send a file from the player to the editor and save it on disk. You can specify either the absolute path or the relative path. When the path you specify is not absolute, it is relative to the project path.
Note: You must ensure that the parent directory exists, otherwise the file won't be saved.