File Upload/Download Bug Fixer

Debug file upload and download issues in web applications

6/11/2026
Prompt
Help me debug file upload/download issues in my application.

**Operation:** {{OPERATION}}
**Framework:** {{FRAMEWORK}}

**Frontend code:**
```{{FRONTEND_LANGUAGE}}
{{FRONTEND_CODE}}
```

**Backend code:**
```{{BACKEND_LANGUAGE}}
{{BACKEND_CODE}}
```

**File type:** {{FILE_TYPE}}
**File size:** {{FILE_SIZE}}
**Error:**
```
{{ERROR}}
```

**Expected behavior:** {{EXPECTED}}

Please provide:
1. **Request Analysis**: Check multipart/form-data handling
2. **Size Limits**: Verify file size configurations
3. **Stream Handling**: Check streaming for large files
4. **Headers Check**: Verify Content-Type and Content-Disposition
5. **Fixed Code**: Corrected upload/download code
6. **Progress Tracking**: Implement progress indicators
7. **Error Handling**: Proper error handling for file ops
8. **Security Check**: Validate file types and sanitize

Or press ⌘C to copy

Variables (10)

Replace these placeholders with your own content before using the prompt.

[{OPERATION][{FRAMEWORK][{FRONTEND_LANGUAGE][{FRONTEND_CODE][{BACKEND_LANGUAGE][{BACKEND_CODE][{FILE_TYPE][{FILE_SIZE][{ERROR][{EXPECTED]

Ready to use?

Copy and paste into your favorite AI tool

Test this prompt live

Try it in our AI Playground with Claude

Open Playground

Explore more Coding prompts

Browse Coding

Command Palette

Search for a command to run...