FormPost not working - WeOnlyDo Discussion board

FormPost not working (General questions)

by ashley, Tuesday, January 24, 2012, 03:47 (4685 days ago)

Hello,

I am experiencing a problem with wod's HttpDLX.

This was working with previous version but since the update I am now experiencing a problem.

Here you can see my code

capsub.url = http://poster.decaptcher.com/
capsub.Request.FormUpload.Add function , picture2
capsub.Request.FormUpload.Add username , Text3.Text
capsub.Request.FormUpload.Add password , Text4.Text
capsub.Request.FormUpload.Add pict_to , 0
capsub.Request.FormUpload.Add pict_type , 0
capsub.Request.FormUpload.AddFile pict , App.Path & /image.jpg
capsub.Post

But when monitoring the packet this is all that is sent

POST / HTTP/1.1
Host: poster.decaptcher.com
Content-Type: multipart/form-data; boundary=---------------------------291b632e8e54
Content-Length: 4169

-----------------------------291b632e8e54
Content-Disposition: form-data; name= pict ; filename= image.jpg
Content-Type: application/octet-stream

*file content here*


As you can see none of the variable I have added are being used.

Does anyone know what would cause this?

Thanks,

Ashley


Complete thread: