Shady?
2013-02-22 08:37:52
Hi guys!
I'm trying to get a file uploaded to a server using the POST and Client web functions in Simba.
Using APPA, I can do something like:
Where I get to select the Content-Type: image/jpeg for the picture. But, I'm having troubles finding a way to do it just with Simba's webclients.
Would something like addpostvariable( c, 'pict', 'C:\a.JPG'); work? Is this even possible?
Thanks in advance!
I'm trying to get a file uploaded to a server using the POST and Client web functions in Simba.
Using APPA, I can do something like:
PostHTTPFormData('http://poster.decaptcher.com/',
['function', 'username', 'password', 'pict_to', 'pict_type'],
['picture2', decap_Username, decap_Password, '0', '0'],
['pict'], [ScriptPath+'Captcha.'+imgType], ['image/p'+imgType]); Where I get to select the Content-Type: image/jpeg for the picture. But, I'm having troubles finding a way to do it just with Simba's webclients.
Would something like addpostvariable( c, 'pict', 'C:\a.JPG'); work? Is this even possible?
Thanks in advance!