var xhr = new XMLHttpRequest(),
fd = new FormData();
fd.append( 'file', input.files[0] );
xhr.open( 'POST', 'http://example.com/script.php', true );
xhr.send( fd );
in an other python sample code I saw that they are using
open(filepath).read() as sent data and
urllib3.PoolManager ().request_encode_body('post',url,fields)
to send files and it worked. - maybe that helps you to help me?
Thanks a lot :)
(note: pythons open().read() returns an other string than DS's app.ReadFile() or app.CreateFile().ReadData() - maybe that's the problem?)
Please give the url, i can also check it out :)
I've attached the base code