file upload via http instead of FTP

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Posts: 36
Joined: Fri Apr 12, 2013 9:15 pm

file upload via http instead of FTP

Post by MadManSoft » Fri Oct 25, 2013 7:08 pm

I'm looking an example of uploading a file from an iOS device via http instead of ftp as is described/shown in the App Academy video.

I think I can do it via the post command via a multi-part form that works under iOS, but am unsure how to structure the code. A specific example would be great!

Not using PHP, but can translate that into my back end (ColdFusion).

Thanks in advance!

Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5145
Joined: Thu Feb 23, 2006 9:24 pm

Re: file upload via http instead of FTP

Post by Mark » Wed Oct 30, 2013 11:33 pm


According to the LC dictionary, libUrlMultipartFormData is not available for iOS and Android. That means that you have to figure out a way with a simple post command. Perhaps something with a repeat loop that uploads indexed pieces of data that are put together by your PHP script. Ugly and slow.

Kind regards,

The biggest LiveCode group on Facebook:
The book "Programming LiveCode for the Real Beginner"! Get it here!


Return to “Summer School 2013”