File Uploads
Formtorch can accept file attachments submitted alongside form fields. Files are stored per-submission and accessible from the dashboard.
Adding a file input
Add a standard <input type="file"> to your HTML form. Set your form’s enctype to multipart/form-data:
<form
action="https://formtorch.com/f/YOUR_FORM_ID"
method="POST"
enctype="multipart/form-data"
>
<input type="text" name="name" placeholder="Your name" />
<input type="email" name="email" placeholder="Your email" />
<input type="file" name="attachment" />
<button type="submit">Submit</button>
</form>The name attribute on the file input determines how the file appears in the submission.
Multiple files
To accept multiple files in a single input, add the multiple attribute:
<input type="file" name="attachments" multiple />Storage limits
| Plan | File storage |
|---|---|
| Free | Not available |
| Starter | 1 GB total |
| Pro | 5 GB total |
See the pricing page for a full plan comparison.
Storage counts across all submissions on your account. When you delete a submission, its attached files are also deleted and the storage is reclaimed.
Viewing uploaded files
Open any submission in the dashboard to see its attached files. Files are listed alongside the other field values and can be downloaded individually.
Accepted file types
Formtorch accepts most common file types. The following are blocked for security reasons:
- Executable files (
.exe,.bat,.sh,.cmd) - Scripts (
.js,.vbs,.ps1) - System files (
.dll,.sys)
If your use case requires accepting files from this list, contact support.
Never trust uploaded filenames. If you’re processing uploads programmatically via the API, always validate file type by content (MIME sniffing), not by extension.