Jeff Hough Posted August 28, 2012 Share 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 Link to comment Share on other sites More sharing options...
andries Posted August 28, 2012 Share Posted August 28, 2012 take a look at the HttpURLConnection class, it allows you to call a url and send data to it. Link to comment Share on other sites More sharing options...
Jeff Hough Posted September 6, 2012 Author Share 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 Link to comment Share on other sites More sharing options...
dansmith65 Posted September 7, 2012 Share Posted September 7, 2012 Have you searched this forum? I'm guessing it's been discussed before. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 4221 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