Hi all,
I'm aware of how to perform an Html GET from within an opened TCP stream - thanks to the examples in the Code Archive.
What puzzles me, is how I can effectively use the POST method, using the same technique, to send a bynary file. What I need, is how the MIME message should be formatted, in order to send it to a remote php script.
I can successfully build an html form to send a file using a POST method; but I don't want to use a form, instead I want to send a file using the same POST method against an opened TCP stream.
Has anybody done already something like that ?
Thanks in advance,
Sergio.
I'm aware of how to perform an Html GET from within an opened TCP stream - thanks to the examples in the Code Archive.
What puzzles me, is how I can effectively use the POST method, using the same technique, to send a bynary file. What I need, is how the MIME message should be formatted, in order to send it to a remote php script.
I can successfully build an html form to send a file using a POST method; but I don't want to use a form, instead I want to send a file using the same POST method against an opened TCP stream.
Has anybody done already something like that ?
Thanks in advance,
Sergio.