LC-only 'POST' file upload code?

William Prothero prothero at earthednet.org
Fri May 22 11:04:04 EDT 2015


Phil:
I have a script that posts successfully to PHP on a server. I use it to upload files and access mySQL databases. If you’re interested, I’ll scare it up.
Best,
Bill
> On May 22, 2015, at 12:57 AM, Phil Davis <revdev at pdslabs.net> wrote:
> 
> Thanks Dave. I'll investigate.
> Phil
> 
> On 5/22/15 12:18 AM, Dave Cragg wrote:
>>> 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.
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> -- 
> Phil Davis
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list