Store the file object by uploading it in chunks.
The ChunkedUploadStore extension can be configured with the ChunkedUploadStoreOptions object.
import { defineFilePond } from 'filepond';
import { locale } from 'filepond/locales/en-gb.js';
import { ChunkedUploadStore } from 'filepond/extensions/chunked-upload-store.js';
defineFilePond({
locale,
extensions: [
// Add the ChunkedUploadStore extension and configure with ChunkedUploadStoreOptions object
[ChunkedUploadStore, {
// Where to post files to
url: './upload'
}]
]
})