Page 1 of 1

libURLftpCommand not working on iOS

Posted: Fri Feb 20, 2015 11:05 am
by MrFollies
I've developed a small app which uses FTP to upload a file to a server.
I can do it with the URL() interface of the internet library, but for some reason when I try to use libURLftpCommand for more fine grained control, I get no response.

Under MacOS within the livecode IDE, I can get the upload function to work fine. But it simply fails with no error when run under iOS

Code: Select all

   
   log "uploadFlightFile: testing FTP server " & tSyncDestination & " with user " & tSyncUser
   put libURLftpCommand("NOOP", tSyncDestination, tSyncUser, tSyncPass) into tFTPStatus
   log "Server Check: " & tFTPStatus
When running under the iPad simulator or on an iPad, I get the first log message, but not the second.

Has anyone else seen any issues using the internet library?

Re: libURLftpCommand not working on iOS

Posted: Fri Feb 20, 2015 11:13 am
by LCNeil
libURLftpCommand, like a lot of libURL commands and functions, are not supported on iOS.

All supported platforms for specific commands and functions can be found next to the "Supported Operating System" section within the relevant dictionary entry

The following forum post should help you with FTP uploads on LiveCodes mobile platforms-

http://forums.livecode.com/viewtopic.php?f=53&t=11213

Kind Regards,

Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
-

Re: libURLftpCommand not working on iOS

Posted: Fri Feb 20, 2015 11:32 am
by MrFollies
Thanks for the reply. I didn't notice that the iOS implementation was missing. Pity.