Page 1 of 1

Download intent fails (read-only file system)

Posted: Wed Aug 25, 2010 6:09 pm
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)

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

Posted: Thu Aug 26, 2010 8:10 pm
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");