With the release of Ultimate FTP Mobile version 6.0 you can now integrate FTP capability to your Android, iOS and .NET CF apps with just a few lines of code. For Android and iOS the development environment can be Xamarin Studio or Visual Studio.
Here is an FTP example on iOS:
And this is an example for Android
The example below shows how to connect to an FTP server and download multiple files.
using ComponentPro.IO; using ComponentPro.Net; ... // Create a new instance. Ftp client = new Ftp(); // Connect to the FTP server. client.Connect("myserver"); // Authenticate. client.Authenticate("userName", "password"); // ... // Get all directories, subdirectories, and files from remote folder '/myfolder' to 'myfolder'. client.DownloadFiles("/myfolder", "myfolder"); // Get all directories, subdirectories, and files that match the specified search pattern from remote folder '/myfolder2' to 'myfolder2'. client.DownloadFiles("/myfolder2", "myfolder2", "*.cs"); // or you can simply put wildcard masks in the source path, our component will automatically parse it. // download all *.css files from remote folder '/myfolder2' to local folder 'myfolder2'. client.DownloadFiles("/myfolder2/*.css", "myfolder2"); // Download *.cs and *.vb files from remote folder '/myfolder2' to local folder 'myfolder2'. client.DownloadFiles("/myfolder2/*.cs;*.vb", "myfolder2"); // Get files in the folder '/myfolder2' only. TransferOptions opt = new TransferOptions(true, RecursionMode.None, false, (SearchCondition)null, FileExistsResolveAction.OverwriteAll, SymlinksResolveAction.Skip); client.DownloadFiles("/myfolder2", "myfolder2", opt); // ... // Disconnect. client.Disconnect();