Page 1 of 1

file upload via http instead of FTP

Posted: Fri Oct 25, 2013 7:08 pm
by MadManSoft
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!

Re: file upload via http instead of FTP

Posted: Wed Oct 30, 2013 11:33 pm
by Mark
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