Op 21-10-2024 om 23:37 schreef Uffe Hammer:
The basice code to send the file and the commands are working as expected and can be seen below.

        WriteStrToStream(HTTP.Document,
            CRLF +
            '--' + Bound + CRLF +
            'Content-Disposition: form-data; name=' + AnsiQuotedStr('file', '"') + ';' + CRLF +
            'Content-Type: application/octet-string' + CRLF +
            CRLF);
Does it really say application/octet-string?
Shouldn't it be application/octet-*stream*?
(not sure if that makes any difference)

--
Grtz,
Rik
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to