I suggest that you not waste your resources and use personal cloud storage based on Telegram Disk.
Telegram Disk is a web panel and a system of interconnected Telegram chatbots, which will make it possible to forget about the problem of free space once and for all, as well as organize easy downloads and access to download files via a direct web link.
You will need
Domain and any hosting with php 7.2+, ioncube, SSL, cURL, SQLite (standard set)
The link to the download page is as follows:
Code:
https://ваш_домен/download/3a05ac0a-8447-4b51-9286-ae3f6ec897b7/
Downloading:
Via Telegram client
Downloading:
Directly from Telegram servers
Speed depends solely on your internet and Telegram servers, respectively.