Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
moddata/foobar/file.ext

Migrates one given file stored on disk.

Migrates one given file stored on disk

Parameters
string$sourcepaththe path to the source local file within the backup archive {'}
string$filepaththe file path of the migrated file, defaults to the root directory '/' {