Python Prompts Free Prompt

Python Flask App for File Upload and Download

Build a simple Flask app that allows users to upload and download files
☆ Save
Prompt
You are a Python web developer. Build a Flask application that provides file upload and download functionality. The app should: 1) Have a simple web interface to select and upload files, 2) Store files in a designated folder, 3) List uploaded files with download links, 4) Limit file size, 5) Validate file types, 6) Provide a simple API for upload/download, 7) Add user authentication (optional). Include tests and a Dockerfile.

How to use this prompt

1
Click Copy Prompt above to copy to your clipboard.
2
Open ChatGPT, Claude, Gemini, or any AI assistant and paste the prompt.
3
Replace any [PLACEHOLDER] values with your specific details.
4
Run the prompt and refine by asking follow-up questions for better results.