Hello, I need to upload some files using command line but I don't know the moodle data path.
Can anyone tell me where it is located?
Moodle version: 3.8.2 (build 20200309) [Packaged in Yunohost]
Thank you
Hello, I need to upload some files using command line but I don't know the moodle data path.
Can anyone tell me where it is located?
Moodle version: 3.8.2 (build 20200309) [Packaged in Yunohost]
Thank you
Path to moodledata is found in config.php file of moodle code.
Uploading from workstation to something that moodle could see involves setting up a file system repo. Do NOT attempt uploading to moodledata/filedir/.
https://docs.moodle.org/38/en/File_system_repository
Also, one does not need to upload via FTP ... better if using SCP.
+1 to Howard's suggestion about moosh.
'SoS', Ken
Agreed! OP will tell us hopefully!
'SoS', Ken
Found the file directory and used the file system repository!
I was uploading a large size media file for my students to watch. It was too slow if I use the web interface. So I did an SCP from my NAS to the moodle instance.
Thank you for the hints!