How to overcome the bandwidth limitation while downloading directly large files from a cloud server?
Normally, when downloading a file from cloud servers, it will be temporarily stored at your server then it will be deleted on your server after downloading completely. However, in some cases, users want to download files directly from cloud servers; especially large files without occupying your server bandwidth. This way could expose the direct link of files on cloud servers. The link will exist within 4 hours with Dropbox and unlimit with OneDrive. Furthermore, the bandwidth could be limited by cloud servers.
Please go these links below for more details:
https://help.dropbox.com/files-folders/share/banned-links
https://borncity.com/win/2016/06/26/onedrive-microsoft-limits-data-transfer/
So to overcome this issue, you should put the code in “wp-config.php” corresponding to your cloud servers.
- Google Drive:
- Dropbox:
- OneDrive Personal:
- OneDrive Business: