JUST OPEN THE UoM_DMS_Toolkit_by_Patric.ipynb in Google Colab and Run π§βπ»
UoM_DMS_Toolkit streamlines file tasks for students at UoM. Enjoy data-free downloads/uploads and multimedia processing, including Torrents, Youtube, M3U8 links. Say goodbye to bandwidth worries and focus on your education! π
-
Update package lists:
sudo apt update -y
-
Install ffmpeg for multimedia processing:
sudo apt install ffmpeg -y
wget -O <fileName> <downloadLink>
OR
curl -o <fileName> <downloadLink>
ffmpeg -i <downloadLink> -c copy -threads 8 <fileName>
curl -u <userName>:<userPassword> -T <fileName> "https://dms.uom.lk/remote.php/webdav/"
curl -u <userName>:<userPassword> -X POST -d "path=<fileName>&shareType=3&permissions=1" "https://dms.uom.lk/ocs/v2.php/apps/files_sharing/api/v1/shares?format=json" -H "OCS-APIRequest: true"
curl -u <userName>:<userPassword> -X GET "https://dms.uom.lk/ocs/v2.php/apps/files_sharing/api/v1/shares?format=json" -H "OCS-APIRequest: true"
curl -u <userName>:<userPassword> -X DELETE "https://dms.uom.lk/ocs/v2.php/apps/files_sharing/api/v1/shares/<share_ID>" -H "OCS-APIRequest: true"
net use Z: https://dms.uom.lk/remote.php/webdav/ /user:<userName> <userPassword>
- Replace 'userName' and 'userPassword' with actual values
To access DMS in Linux π§, enter this address in the Enter server address
field in your File Manager
davs://dms.uom.lk/remote.php/webdav/
This notebook provides a convenient way to interact with the DMS for educational purposes, enabling data-free downloads, uploads, and sharing of files and folders.π§βπ»