node-formidable / formidable

The most used, flexible, fast and streaming parser for multipart form data. Supports uploading to serverless environments, AWS S3, Azure, GCP or the filesystem. Used in production.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Guardar cuando yo lo desee

LuisEduardoGarcia51981 opened this issue · comments

Como hago para que formidable realice el parser sin guardar el archivo en disco? Y que lo guarde cuando yo quiera?

Hey there @LuisEduardoGarcia51981 👋 Please use English next time or at least pass it through some translate.

You can use the options.fileWriteStreamHandler, it will not write files to the disk but pass them to that function. Check out this amazon s3 example from the examples/ directory.

Or this https://github.com/node-formidable/formidable/blob/master/examples/log-file-content-to-console.js which uses that option too.


Usted puede utilizar las options.fileWriteStreamHandler, no escribir archivos en el disco, sino que pasan a la función.