The files which are sent to the bot, are empty when downloaded using the downloadFile() function, but when I manually click on the URL, it downloads the file with the content. I have tried downloading the file with requests but the problem still persists.
I get a working link of the file, but downloading fails when i try to do it from the code.
The files which are sent to the bot, are empty when downloaded using the downloadFile() function, but when I manually click on the URL, it downloads the file with the content. I have tried downloading the file with requests but the problem still persists. I get a working link of the file, but downloading fails when i try to do it from the code.