Skip to content
πŸ—œ Send FilePond Files Along with Form Submit
Branch: master
Clone or download
Latest commit 003b2a1 Mar 25, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist up version Mar 25, 2019
src/js fix problem where setting allowFileEncode to false would not work cor… Mar 22, 2019
.babelrc fix problem where comments were moved Mar 25, 2019
.gitattributes
.gitignore open source plugin / add two helper methods / add demo Mar 22, 2019
LICENSE
README.md Update README.md Mar 22, 2019
index.html open source plugin / add two helper methods / add demo Mar 22, 2019
package-lock.json open source plugin / add two helper methods / add demo Mar 22, 2019
package.json up version Mar 25, 2019
rollup.config.js open source plugin / add two helper methods / add demo Mar 22, 2019
rollup.scripts.js disable treeshaking Mar 22, 2019

README.md

File Encode plugin for FilePond

npm version

https://pqina.nl/filepond/docs/patterns/plugins/file-encode/

When submitting files along with a classic form post we run into a serious browser limitation. The file input field is the only field available to submit files to a server but its value can't be set. The file input field value can only be modified by the user, and only when a file is added manually (in one action).

The file encode plugin circumvents this by encoding files as base64 strings and adding those strings to hidden input fields. We can then decode the strings on the server to retrieve the original file object.

Demo

You can’t perform that action at this time.