Questions tagged [busboy]

A streaming parser for HTML form data for Node.js

busboy is a module for parsing incoming HTML form data.

268 questions
0
votes
1 answer

Firebase and busboy, do I get the whole file in memory, or?

I want to upload rather large files in a node.js/Firebase project. I am trying to understand if Busboy fits my need. The example in the Busboy documentation ends with req.pipe(busboy); However this does not work in Firebase. It looks like you…
Leo
  • 4,136
  • 6
  • 48
  • 72
0
votes
1 answer

node.js out of memory after file upload complete

I have a web-server running on an embedded linux running on an armv7 SBC (Atmel SAMA5D27-SOM with 128MB RAM). The firmware update process requires a .tar.gz file to be uploaded via this interface, then untarred/unzipped and further processes run on…
wntwrk
  • 317
  • 1
  • 2
  • 10
0
votes
0 answers

express-busboy sending files to a folder

I want to send a file with express-busboy. On the readme it says that you can use req.body. So i did. The regular inputs worked, but the file inputs just returned the name of the file i uploaded. I uploaded the file called myfile.png and in the…
user11041744
0
votes
1 answer

express-busboy. Sending files

I want to send a file with express-busboy. On the readme it says that you can use req.body. So i did. The regular inputs worked, but the file inputs just returned the name of the file i uploaded. I uploaded the file called myfile.png and in the…
user11041744
0
votes
1 answer

Securing image upload using Node and AWS Lambda

I'm implementing image upload via browser form and I'm working with AWS and NodeJS. The process is that user selects a file, provides additional info and it all is send to backend using multipart/form-data. This works great so payload goes thru API…
spirytus
  • 10,726
  • 14
  • 61
  • 75
0
votes
2 answers

Extract All File Names from a .rar or .zip File in Node.js

I have an express route, that uploads files, that are sent to the server via formData. Supposing the file is a .rar or .zip file, my goal is to extract all file names, that is inside this zipped folder or it's subfolders. This is how my express…
Florian Ludewig
  • 4,338
  • 11
  • 71
  • 137
0
votes
1 answer

using busboy body parser with multer to upload files in nodejs

Iam using busboy body parser to parse the multipart form data. So Iam getting the fields like name, username key values in req.body and files in req.files. But Iam unable to upload files to the directory using…
Vipin
  • 153
  • 7
  • 21
0
votes
0 answers

Heroku Node app crashes when uploading files to S3 (message: 'The header content contains invalid characters')

I have an Express app (deployed on Heroku) which allows users to upload images which are stored on Amazon S3. When I try to upload images using my local environment (Windows and all environment variables from Heroku) the uploads are successful. On…
Mark20
  • 95
  • 3
  • 10
0
votes
1 answer

Uploading large files to Amazon S3 creates two copies after two minutes

I am trying to upload large files (50 to 60 MB) to amazon S3 bucket from a server written in NodeJS. The server receives the file(s) from a ReactJS frontend. I came across the problem that there are two copies of same file being uploaded to the S3…
Lovegood
  • 5
  • 3
0
votes
0 answers

Add streamed email data to MongoDB in meteor

I have a route set up to receive a webhook from SendGrid, which sends MultiPart/form data. I can get the various fields to output in the console with busboy, but I'm struggling to fill in the final piece of the puzzle: getting this parsed data into…
aroundtheworld
  • 731
  • 1
  • 5
  • 15
0
votes
0 answers

Node.js - Extracting values from formdata

I have to create an upload function where admins can upload a report for a certain user. I have access to this data User ID (Number) Report Type (Number) Report (File) When an an admin uploads a report, I want to create a directory if it doesn't…
Nicolas
  • 4,526
  • 17
  • 50
  • 87
0
votes
1 answer

Can I use busboy with passport.js?

I'm using FormData() in my React app. I was going to use it for registration and login too. I have a working passport.js registration piece of code and was going to use it with busboy but it looks like it reads fields one by one whenever there is…
dan tenovski
  • 311
  • 2
  • 10
0
votes
1 answer

Failing to get a response back from a web api call in node

this particular Node issue has been driving me crazy for going on a week. I have to create a layer of friction (a modal that asks the user if they're sure) in the process of a csv file upload. Essentially, the flow will be: User Clicks 'UPLOAD…
12Noone
  • 63
  • 1
  • 9
0
votes
1 answer

Busboy hangs (in express.js)

I tried to use Busboy in express framework. I want to use it directly without multer just to learn how it works. I stoped on the first example and don't know where the error is. It's quite hard for me to investigate because it just hangs with no…
nosbor
  • 2,826
  • 3
  • 39
  • 63
0
votes
1 answer

Having problems handling UIImageJPEGRepresentation or UIImagePNGRepresentation in Node.js

TL;DR: How do you write UIImageRepresentation data into the actual file format in a Node.js server? (or any place outside of Swift at that) . . So I'm in a bit of a predicament here... I wanted to send a UIImageJPEGRepresentation (or any form of…