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.
MIT License
7.04k stars 682 forks source link

Guardar cuando yo lo desee #903

Closed LuisEduardoGarcia51981 closed 1 year ago

LuisEduardoGarcia51981 commented 1 year ago

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

tunnckoCore commented 1 year ago

Hey there @LuisEduardoGarcia51981 :wave: 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.