How to upload a file using HTTPSocket post?

Andrew,

I want to explore your suggestion (from boredomsoft.org) as the one based on the plugin, gives me some troubles on Linux.
Do you happen to know how to capture the reply from the server with the sample script?

thanks

gert

I’m afraid I don’t understand the question.

Sorry. When a file is uploaded to the server, together with some other values, my server will analyze the file and generate a json reply. I would like to capture that so my application can show the analysis. I tried

Dim jsonreply as String jsonreply = MyHTTPSocket.Post("www.example.com/uploads.php")
but that didn’t work.

thanks for your help

Try this:

jsonreply = MyHTTPSocket.Post("www.example.com/uploads.php", 0)

That’s it, Andrew! Thanks!