Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7722935
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T04:19:09+00:00 2026-06-01T04:19:09+00:00

I have downloaded the sample code from this site for FTP Client http://www.lysesoft.com/products/andftp/index.html But

  • 0

I have downloaded the sample code from this site for FTP Client http://www.lysesoft.com/products/andftp/index.html

But when I ran the project I got this exception and crashed.

03-27 21:40:44.572: INFO/System.out(559): EEE  : No Activity found to handle Intent { act=android.intent.action.PICK dat=ftp://192.168.20.128 typ=vnd.android.cursor.dir/lysesoft.andftp.uri (has extras) }

What is the reason for this?
Can anyone provide me a fully working android code for FTP.

This is the code for downloading.

Intent intent = new Intent();
                intent.setAction(Intent.ACTION_PICK);
                // FTP URL (Starts with ftp://, sftp://, ftps:// or scp:// followed by hostname and port).
                Uri ftpUri = Uri.parse("ftp://192.168.20.128");
                intent.setDataAndType(ftpUri, "vnd.android.cursor.dir/lysesoft.andftp.uri");
                // Download
                intent.putExtra("command_type", "download");
                // FTP credentials (optional)
                intent.putExtra("ftp_username", "anonymous");
                intent.putExtra("ftp_password", "test@test.com");
                //intent.putExtra("ftp_keyfile", "/sdcard/dsakey.txt");
                //intent.putExtra("ftp_keypass", "optionalkeypassword");
                // FTP settings (optional)
                intent.putExtra("ftp_pasv", "true");
                //intent.putExtra("ftp_resume", "true");
                //intent.putExtra("ftp_encoding", "UTF-8");
                //intent.putExtra("ftps_mode", "implicit");
                // Activity title
                intent.putExtra("progress_title", "Downloading files ...");
                // Remote files to download.
                intent.putExtra("remote_file1", "/remotefolder/subfolder/file1.zip");
                intent.putExtra("remote_file2", "/remotefolder/subfolder/file2.zip");
                // Target local folder where files will be downloaded.
                intent.putExtra("local_folder", "/sdcard/localfolder"); 
                intent.putExtra("close_ui", "true");    
                startActivityForResult(intent, DOWNLOAD_FILES_REQUEST);

I get error at “startActivityForResult”

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T04:19:10+00:00Added an answer on June 1, 2026 at 4:19 am

    Man, you need to install AndFTP in order to be able to work with FTP (unless you implement the FTP functionality by your self).

    Let me guess what you did: you thought that by implementing the snippets of code that you found in the andFtp website you were going to be able to use FTP in your application.

    If I guessed right, then you do not understand completely how Android works and what you have to do in order to use FTP. So, what andFTP does is register offer some activities that can be used by external apps in order to use FTP. However, in order for it to work the andFTP application must be installed.

    That’s why you get an ActivityNotFound exception. So here are your only two choices:

    • Either you implement all the FTP stuff by your self (and forget about andFTP)
    • Or you catch that kind of exceptions and show a message to the user telling them that they have to install andFTP so that your app can operate correctly.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have downloaded the silver light from this http://www.microsoft.com/silverlight// I need to use this
I have downloaded sample code from Apple Center.I also have gone through following question:
I have downloaded TableView sample code '4_TableViewCellSubviews' from internet. I am trying to run
I have downloaded the sample code GLPaint from developer.Apple website to draw pictures on
I have downloaded the sample code GLPaint from developer.Apple website to draw pictures on
I have a sample app which i downloaded from net In this i was
I am trying to build a simple Jabber client. I have downloaded this sample
I'm signed up, I've downloaded sample code, I've got a WSDL...and yet I have
I have some content sliding here. http://www.smallsharptools.com/downloads/jQuery/Slider/slider.html The HTML structure is simple. There is
I have recently downloaded the most recent build of this awesome tool WSDL2OBJC from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.