HI
I got rid off above problem.
I made a silly mistake by calling setUserName method twice instead of calling setPassword. Anyway, i'm out of that problem now.
Now, I am getting following exception
ERROR [DownloadFileTask] 15 Mar 2010 10:27:50.042 : 2:Download[/sdcard/abc.txt=>abc.txt] failed : Permission denied
com.enterprisedt.net.ftp.FTPException: Permission denied
after succesfull key exchange.
i'm simply calling following function.
sftp.downloadFile("abc.txt", Environment.getExternalStorageDirectory()+"/abc.txt");
What could be the reason??