Jeff Hough Posted August 28, 2012 Posted August 28, 2012 Hello, I am trying to post a file to a server. The API we have been given describes using cURL. But Windows doesn't have cURL installed by default. I would rather include the post method in the plug-in without requiring an external utility be installed. Is there such a method? Sorry if I am missing the obvious. Thanks, Jeff
andries Posted August 28, 2012 Posted August 28, 2012 take a look at the HttpURLConnection class, it allows you to call a url and send data to it.
Jeff Hough Posted September 6, 2012 Author Posted September 6, 2012 Is this the class behind the "Post Data to URL" function that is included as a sample? Will this function post a file? If not, does anyone have a SM function written I could paste in? Thanks, Jeff
dansmith65 Posted September 7, 2012 Posted September 7, 2012 Have you searched this forum? I'm guessing it's been discussed before.
Recommended Posts
This topic is 4529 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now