pillarjs / pillarjs/multiparty

How to ensure files are uploaded before processing them?

Open
#256 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.3k
Forks
164
Avg merge
4h 16m
Merged PRs (30d)
4

Description

I'm trying to set up a Web server that, when I upload some PDF files, parses and returns the text of that file.

Before I process a file, I need to be sure that multiparty has fiinished saving the file to my uploads folder.

Can I guarantee that this is true when multiparty.Form.parse's callback function parameter is called? Or do I need to use some other thing?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the multiparty.Form.parse callback documentation and the parser entry point to verify when uploaded files have finished saving. Confirm whether the callback guarantees completed file writes and document the correct processing point or usage guidance for PDF uploads.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.