31,047 questions
Score of -2
1 answer
63 views
Multer not creating uploads folder when req.files used but creates folder when req.file used
I am working with my code which is:
router.route("/")
.post(upload.array('listing[image]', 12), (req, res) => {
res.send(req.file);
console.log(req.file);
})
And multer config ...
Score of 1
1 answer
84 views
Formidable module with Node.js Express names files with "invalid-name" even though the file name is valid
I am trying to implement a form that uploads multiple mp4 files to a server from a client workstation. The web page uses an element <input type="file" multiple="multiple" ...>...
Score of 1
1 answer
141 views
input type="file" accept=... fails on uncommon file extensions on iOS
I want to write HTML to allow users to upload weaving pattern files. The following works perfectly on Safari and Brave on macOS 15 but fails horribly using Safari or Brave on iOS or iPadOS 26:
<...
Tooling
0
votes
1
replies
111
views
Convert HEIC image to jpg or png
Does anyone have any recommendations for a tool to convert an HEIC image (iPhone) to a more common format like jpg or png? If customers upload directly from their phones and we need to pass the image ...
Score of 0
1 answer
207 views
How to enforce server-side file validation when using Supabase Storage client-side upload in Next.js?
I have a Next.js app (App Router) with two separate upload paths for a gallery feature, and I realized my server-side security checks are being bypassed.
The secure path (Server Action) - validates ...
Score of -1
1 answer
79 views
How to preserve image filename in Quill JS when using base64 inline images?
I am using Quill JS (React) to compose emails. When I upload an image, Quill converts it into a base64 string inside the <img src='base64datas....'> tag. However, I need the original filename on ...
Best practices
0
votes
0
replies
62
views
Best approach for handling images that need both local (IndexedDB) and cloud (S3) storage?
I have a full-stack application built with React and ASP.NET Core. It has a save feature that stores user data along with images. Currently the app handles images in two ways:
Cloud save: Images are ...
Best practices
0
votes
1
replies
165
views
Best approach for handling large file uploads and ZIP generation in Laravel?
I’m building a Laravel 12 folder organizer where users may upload large folders (many files / large sizes), and I categorize files by extension and generate a ZIP for download.
Current approach:
...
Advice
0
votes
1
replies
82
views
Designing atomic product + media upload flow with Supabase Storage
I’m building a system where users create a product with multiple media files (images/videos).
Tech stack
Node.js / Express backend
PostgreSQL
Supabase Storage (object storage)
Current flow
Client ...
Score of 0
0 answers
36 views
File upload generates IllegalStateException: Unable to process parts as no multi-part configuration has been [duplicate]
I am moving an ancient webapp from Spring 3 to Spring 6. I have just about everything else working, but am having to start from scratch with file upload and this is the only project I've ever worked ...
Best practices
0
votes
2
replies
161
views
How to compress data during HTTP upload (request body) without client-side web compression?
I want to compress the data being transferred in an API over HTTP, specifically during file upload from client to server.
Most examples I found focus on response compression (server → client) using ...
Score of 0
3 answers
272 views
Does Chrome (or any other browser) upload INPUT TYPE="FILE" multiple files in parallel with HTTP 2
According to a comment in response to List is null for large files. Reproducible at will : -
Yes... the actual spec: datatracker.ietf.org/doc/html/rfc7578 - when a request is using multipart/form-data ...
Best practices
0
votes
2
replies
66
views
How to shrink image size on upload for github user-attachments/assets in repo issues?
If a contributer attaches an image in a github issue (or any other comment) it will be uploaded as is. If the image is large this results in poor usability of that post. Is there a way to shrink image ...
Score of 0
2 answers
135 views
What is the proper way to upload a bitmap image to Vercel programmatically? [closed]
I have a generated bitmap that I can write to disk using Jimp, and I can verify it is properly formatted. However, using the few simple lines provided by Vercel, I can't seem to get this image ...
Score of 1
1 answer
112 views
PrimeFaces fileUpload listener is never invoked on Payara
I am trying to run a Jakarta EE 11 application on Payara Server 7 and I am facing a problem with file upload not working at all.
Initially I suspected PrimeFaces, but the same issue occurs with ...