formio / formio.js

JavaScript powered Forms with JSON Form Builder

Home Page:https://formio.github.io/formio.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File Upload as base64 issues

hochunang opened this issue · comments

I have used the formiojs@4.13.2 to create a File Component (with base64 storage). When submitting the form, submission.data I get

image
(url have store base64 string when filesize is small)

However, if I upload 400MB file, I can't get the base64 string. What happens? How to solve it?
image

@hochunang MongoDB does not allow to store documents that are larger that 16 MB. That's why it does not work with 400MB file and this is not recommended to use base64 storage unless you are going to upload only small files.