Does AndFTP provide an Intent to download files from FTP server?Yes, you need to start an Activity for regular PICK intent with parameters data and the following type: vnd.android.cursor.dir/lysesoft.andftp.uri. For instance:
...
Intent intent = new Intent();
intent.setAction(Intent.ACTION_PICK);
// FTP URL (Starts with ftp://, sftp://, scp:// or ftps:// followed by hostname and port).
Uri ftpUri = Uri.parse("ftp://yourftpserver.com");
intent.setDataAndType(ftpUri, "vnd.android.cursor.dir/lysesoft.andftp.uri");
// FTP credentials (optional)
intent.putExtra("ftp_username", "anonymous");
intent.putExtra("ftp_password", "test@test.com");
// FTP settings (optional)
intent.putExtra("ftp_pasv", "true");
// Download
intent.putExtra("command_type", "download");
// Activity title
intent.putExtra("progress_title", "Downloading files ...");
// Remote files to download.
intent.putExtra("remote_file1", "/remotefolder/subfolder/file1.zip");
// Target local folder where files will be downloaded.
intent.putExtra("local_folder", "/sdcard/localfolder");
startActivityForResult(intent, 0);Full Intents documentation is available here. More samples are available in the forum.