Is it possible to upload multiple files? #3384
Replies: 2 comments
-
|
I found the answer - https://hono.dev/docs/api/request#multiple-files-with-same-name |
Beta Was this translation helpful? Give feedback.
-
|
Once multiple-file upload enters the picture, I’d be extra careful not to treat it as just a transport problem. The bigger risk is usually that each file is accepted as-is without a dedicated server-side inspection step before storage or further processing. I built an OSS package for this in Node.js: It’s useful when you want upload handling to include actual trust checks instead of only multipart parsing. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Docs talk about uploading a SINGLE file:
Is it possible to upload multiple files though? My frontend code:
Hono:
The logged "files" property is always a single file.
Can we handle mutliple files somehow?
Thanks 🙏
Beta Was this translation helpful? Give feedback.
All reactions