Mark Nutter schrieb:
--- Christian Leicht <[EMAIL PROTECTED]> wrote:
Hello,
i use a HTTPSocket for sending String Data, same like on a HTML
Form to PHP.
form = New Dictionary
form.value("function") =
DefineEncoding("function1",encodings.UTF8)
form.value("titel") =
DefineEncoding(Window1.EditField1.Text,encodings.UTF8)
Window1.HTTPSocket1.setFormData form
Window1.HTTPSocket1.post "http://www.server.com/script.php"
Is it possible to send a Image File or other Files (.zip, .gz
.dmg) ?
Yes, have a look at http://www.bucktailsoftware.com/developer/
and grab the HTTPSocket Uploads file. This is what I used as the
basis for an article I wrote for RBLibrary.com. It is not quite
up-to-date--I found some better ways to write the code when I was
working on the RBL article and I haven't rolled them back into
the HTTPSocket Uploads code on my web site yet--but it should
give you the general idea.
Mark Nutter
Quick and easy regex creation and debugging!
http://www.bucktailsoftware.com/products/regexplorer/
Hello Mark,
The File upload with your Demo is workin. But i did not understand the
syntax to give mor variables to the sending.
I need to send more infos with the File.
Now its only the name and the binary Data.
I need one String an one Integer(or a 2nd String) too.
Can you give me a hand to implement 2 variables in your DoLongTask Code ?
Thanxs for help
Christian
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>