get input file name and file extention using flask
Found the answer. request.files['upload'].filename gives the file name and extension in flask
lets say that I have <input name="upload" type="file"> and I am uploading picture.jpg. The question is how can I get the file name+extention? By other words the correct script for request.files.filename or request.upload.filename