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!
file upload via http instead of FTP
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: file upload via http instead of FTP
Hi,
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,
Mark
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,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode