Moodle PHP Documentation 5.0
Moodle 5.0.1+ (Build: 20250711) (61af040cd5f)
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 '/' {