Forums

File size of 100 mb or more not work on django,

hello everyone, i have problem regarding uploading of file , when i upload file size of which is 100 mb or more than 100 , the page give an error connection reset . i check modal class there is no limit problem in for size in database ,your suggestion will be really appreciated

HI there,

Unfortunately we do not allow uploading > 100mb via a http request- this is to avoid DoS attempts.

Conrad

There are a number of ways around this if you need to upload a file

To clarify, here is a lot of ways to upload/download >100mb from pythonanywhere. However, for a webapp, you would not be able to accept an inbound http connection with a file of more than 100mb. Instead you could perhaps chunk it up in javascript and send it bit by bit.