Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Upload to Amazon S3
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01530635
Message ID:
01530867
Views:
105
>You should use wwHttp to do this - wwIPStuff has been deprecated. Same syntax but separate object. Use the HttpGet() method which make your code simpler as well.
>
>
>Main issue is that you need to use multi-part form posting for uploading a file. loHttp.nHttpPostMode = 2 should address that. In addition I'm not sure you're sending the 'file' correctly.
>
>Here's an example from the help file:
>http://www.west-wind.com/webconnection/wwClient_docs?page=_0rs0twgr6.htm

Thanks Rick, I'm getting much closer. Now the error message I get from S3 is The body of your POST request is not well-formed

I'm using nhttppostmode=2

Any ideas?
Brandon Harker
Sebae Data Solutions
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform