Menu

1 / 2

Property Receipts: Large Files, Browser Direct Uploads — Node.js Presigned Multipart Parts

DEV Community: node·RiftG84·about 7 hours ago
#fT1xRsDD
#devtonodejs#devto#dev#upload#part
Long article (1588 words) — no AI summary yet.
Reading 0:00
15s threshold

Short answer: for a property-management receipt, keep the browser on a direct upload path, sign one multipart plan in Node.js, and make retention state explicit before you call complete.

The original receipt is an audit record. A thumbnail or extracted text is not a substitute. That changes the design: the upload service owns authorization and state, while object storage receives the large file. The browser should never receive a long-lived storage credential.

Keep the original.

The retention decision comes before the upload

Start with a receipt record in your application database. It needs an owner, property identifier, content type, expected size, retention deadline, and an upload status such as initiated , complete , aborted , or expired . Generate an object key from an internal receipt ID, not from the filename.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.