Problem downloading file to iPhone

Neil Roger neil at livecode.com
Tue Jul 21 07:49:57 EDT 2015


Hi John,

iOS is very picky with URLs. Try URLEncoding the text file name and 
attempting the download again-

put urlEncode("001.French|The_simple_words.txt") into theFilename

Kind Regards,

Neil


	

LiveCode Technical Support Lead
neil at livecode.com <mailto:neil at livecode.com>

LiveCode
+44 (0) 845 219 8923.
25A Thistle Street Lane South West, Edinburgh, EH2 1EW
http://www.livecode.com

Facebook <https://www.facebook.com/pages/LiveCode/121318328010780> 
Twitter <https://twitter.com/livecode> Youtube 
<https://www.youtube.com/user/RunRevLtd> Linkedin 
<https://github.com/runrev/livecode>


On 21/07/2015 12:43, John Dixon wrote:
> on the desktop this works, no problem... the text is placed in fld 1
> on mouseUp
>     put "001.French|The_simple_words.txt" into thefilename
>     put "http://www.xxxxxx.on-rev.com/xxxx/public_html/dixon/" & thefilename into theURL
>     put URL theURL into temp
>    put temp into fld 1
> end mouseUp
> How do I do the same in iOS... ? as the above won't work ... 		 	   		
> _______________________________________________
> 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