libURLftpCommand not working on iOS

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
MrFollies
Posts: 29
Joined: Tue Jul 15, 2014 8:30 am

libURLftpCommand not working on iOS

Post by MrFollies » Fri Feb 20, 2015 11:05 am

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?

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: libURLftpCommand not working on iOS

Post by LCNeil » Fri Feb 20, 2015 11:13 am

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
-

MrFollies
Posts: 29
Joined: Tue Jul 15, 2014 8:30 am

Re: libURLftpCommand not working on iOS

Post by MrFollies » Fri Feb 20, 2015 11:32 am

Thanks for the reply. I didn't notice that the iOS implementation was missing. Pity.

Post Reply