the POST method is triggered but without my file.
i tried only with parameters, everythings is OK but withfileUpload, parameters disappears and file is nonexistent.
sorry but i don’t understand “create a File/URL on the heap”. ^^
i tried to execute that on button click function :
URL url = URL("https://myserver/upload_file_from_plugin");
url = url.withParameter("user", "test");
File file = File("c:\\testfile.wav"); // this file is already in my C disk
url = url.withFileToUpload("uploadfile", file,"audio/wav");
InputStream* input = url.createInputStream(true);
but nothing change.
In server-side, body is empty.
EDIT : My bad It was a server-side problem with my nodeJS server (and fileupload middleware) and maybe double backslash problem too.
i just have one last question for download callback :
how to use OpenStreamProgressCallback ? i need to create a function “cb” and put it in InputStream second parameter?