So i m trying to read a video from a server and then store that as bytes and then upload that file on Anonfile. But i dont want to save that file on local storage. I'm using BytesIO to read that file as binary and able to read. But when i try to upload it fails.
UPDATE: Now it is working.
r = requests.post(upload_url, files=file_info)
But how can i set file name while uploading