I want to get the size of uploading image to control if it is greater than max file upload limit. I tried this one:
@app.route(\"/new/photo\",methods=[\"POST
The following section of the code should meet your purpose..
form_photo.seek(0,2) size = form_photo.tell()