EP 07: Files in Flask: Save uploaded files to filesystem and sending file attachments

preview_player
Показать описание
Uploading and sending files as attachment in Flask is actually lot simpler. Lets explore that in this video.

In this video we will creating a simple application in Flask which will allow users to upload files. We will be processing all of the uploaded files and we will be saving the files to our file system. We will see on how to upload single and multiple files. We will also see on how to send attachments using Flask.

📌 Step by step guide (along with source code):

📌 See my profile at:

📌 Contact me:
Рекомендации по теме
Комментарии
Автор

you helped me a lot, with receiving several images on the server. Thank you!!

bryanelian
Автор

An error message appeared "[Errno 2] no such file or directory"
How do I solve the problem please?

ah
Автор

I am creating small web app. In this, I am uploading few files from UI; working on those uploaded file & creating a zip file at backend. I am returning generated zip file using send_from_directory. but this process takes around 15-20 sec. So I am showing loader on front end. I want to hide this loaded once I get the attached output. How can I stop the loader?

harshabiyani
Автор

i have tried the same code what you have done . But i got Key error for "UPLOADS_FOLDER". Can u help me ?

sawmiasudharshan