FTP on Android
Posted: Sun Nov 18, 2012 4:35 am
Hi all -
The following code is working fine on iOS, but not the Android simulator. I'd be grateful for any advice for how to make it work.
Peace
Joel
The following code is working fine on iOS, but not the Android simulator. I'd be grateful for any advice for how to make it work.
Peace
Joel
Code: Select all
put "http://www.projectiveart.com/PAapp/count/count.txt" into countURL
put URL countURL into tTempCount
put tTempCount into tNumberOfFiles
put tNumberOfFiles+1 into tNumberOfFiles
constant FTPHOST = "www.projectiveart.com"
constant FTPUSER = "{my user name}"
constant FTPPASS = "{my password}"
put tNumberOfFiles into URL "binFile:/count.txt"
put tNumberOfFiles into url ("ftp://" & FTPUSER & ":" & FTPPASS & "@" & FTPHOST&"/PAapp/count/count.txt")