Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added option to return buffer #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

filipjohansson
Copy link

I added the option to choose how the files should be stored. The reason for adding this was that I needed to get the buffer of a file and after looking into the documentation of Multer I found that setting the storage to memory presented me with the file buffer instead of the path.

This was also discussed in #2

filipjohansson and others added 3 commits March 30, 2017 14:49
Added Memory Storage to upload to receive a buffer of the file
@sax1johno
Copy link
Owner

Hey there. The changes in httpInMultipart look like they set the storage to MemoryStorage by default. Have you tested both memory and file storage with the new updates?

@filipjohansson
Copy link
Author

It does, but the dropdown in the settings is required so the user must make an active decision.

I have tested it both, but I have to admit I do not have any current flows running with file storage, just the memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants