Download intent fails (read-only file system)

FTP client for Android handsets.
Post Reply
dkwestfall
Posts: 1
Joined: Wed Aug 25, 2010 6:03 pm
AntiSpam sum: 8

Download intent fails (read-only file system)

Post by dkwestfall »

I've created an android app and want use AndFTP to download a file each time the app is started. I used the example code from the forum. I installed AndFTP on my emulator and was able to use it to download a file. However, when I try my app I get the following error:

Download failed: java.io.FileNotFoundException: /filename (Read-only file system)

support
Posts: 853
Joined: Sun Apr 20, 2008 4:40 pm

Re: Download intent fails (read-only file system)

Post by support »

I guess you made an error with path of file to download. It cannot be /filename. It could be /sdcard/filename. Are you sure about local_folder parameter:

Code: Select all

intent.putExtra("local_folder", "/sdcard/localfolder");    

Post Reply