Closed kasperkamperman closed 2 months ago
Hi, I'm not sure, the ondata
callback should add to the existing formdata object, you could inspect the request in the developer console to see the package it sends and the fields that it contains.
I spend a morning trying, logging, but I couldn't grab what was going on. Could be also a knowledge gap from my side or something I overlook.
I'll close this, because I think I have to document this issue more in detail. I hope this issue somehow helps as archive if other people might come across this.
Thanks for making this tool available as open source. Much respect for your work and sharing your work and approach with the community.
Kasper
Is there an existing issue for this?
Have you updated FilePond and its plugins?
Describe the bug
In this way the data doesn't arrive at my endpoint.
I check this in PHP as:
I expect the $dir to have the variable passed, however it was always 'bla'.
I also struggled to get error messages back from the server, onload didn't trigger even onerror filepond events not.
I could make it work with this example: https://pqina.nl/filepond/docs/api/server/#process-1
Hope this helps someone. Still figuring out why the other methods don't work.
Reproduction
FilePond 4.31.1
Environment