LC-only 'POST' file upload code?

Dave Cragg dcragg at lacscentre.co.uk
Fri May 22 03:18:40 EDT 2015


> On 22 May 2015, at 02:02, Phil Davis <revdev at pdslabs.net> wrote:
> 
> Does anyone have a LC code you're willing to share that uploads a file to a server via POST? I'm looking for pure LC code, not where LC is used to build an HTML form that uploads a file in revBrowser or other browser.
> 
> Here's hoping! Otherwise I can use shell(curl) but would rather keep it in LC.
> 

There’s an example in the dictionary under libURLMultipartFormData. It should support multiple files too.





More information about the use-livecode mailing list