Discuss (FTP) and (SFTP, FTPS and SCP), our Java file transfer clients.
no avatar
User

Mr. Kakakuva

Posts

8

Joined

Fri Mar 12, 2010 3:52 pm

AuthenticationProtocolException:Username and password cannot

by Mr. Kakakuva » Fri Mar 12, 2010 4:13 pm

no avatar
User

EDT Support

Posts

905

Joined

Mon Apr 26, 2004 3:03 pm

by EDT Support » Fri Mar 12, 2010 4:40 pm

no avatar
User

Mr. Kakakuva

Posts

8

Joined

Fri Mar 12, 2010 3:52 pm

by Mr. Kakakuva » Fri Mar 12, 2010 7:06 pm

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Fri Mar 12, 2010 9:20 pm

no avatar
User

Mr. Kakakuva

Posts

8

Joined

Fri Mar 12, 2010 3:52 pm

by Mr. Kakakuva » Mon Mar 15, 2010 3:06 pm

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??
no avatar
User

Mr. Kakakuva

Posts

8

Joined

Fri Mar 12, 2010 3:52 pm

by Mr. Kakakuva » Mon Mar 15, 2010 5:08 pm

HI

Problem solved.
edtFTPj/ PRP simply rocks!!!
Thanks alot!!!
no avatar
User

EDT Support

Posts

905

Joined

Mon Apr 26, 2004 3:03 pm

by EDT Support » Mon Mar 15, 2010 10:23 pm

That's great. Now that you mention it I can see the setUserName error in your listing. I missed that first time I looked, as did you obviously.

I don't suppose you'd care to give a point? Look for HansA.

- Hans (EnterpriseDT)

Who is online

Users browsing this forum: No registered users and 135 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign