Discuss (FTP), (FTP on .NET CF) and (FTPS, SFTP and SCP).
no avatar
User

cynkan

Posts

5

Joined

Fri Mar 02, 2007 8:46 pm

500 User denies from using Command CWD

by cynkan » Fri Apr 03, 2015 1:00 am

Hi,

We are connecting to a bank system i Sweden with EnterpriseDT.NET.Ftp and gets an error when we connect. I dont know what kind of server they have.

How can this be avoid?
What property has to be set to avoid EnterpriseDT to send CWD?

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: 500 User denies from using Command CWD

by support2 » Fri Apr 03, 2015 2:06 am

It looks to me like the user is not permitted to use the CWD command.

Set AutoLogin property to false, and then use the Login() method to login.
no avatar
User

cynkan

Posts

5

Joined

Fri Mar 02, 2007 8:46 pm

Re: 500 User denies from using Command CWD

by cynkan » Fri Apr 03, 2015 3:38 am

I tried that now but then the log file does not give anything, its created but empty.
The .Login method does not log, only the .Connect

It also looks like I come as far as before, logged out :(
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: 500 User denies from using Command CWD

by support2 » Fri Apr 03, 2015 6:14 am

Set AutoLogin to false, call Connect() and then Login(user,pwd).
no avatar
User

cynkan

Posts

5

Joined

Fri Mar 02, 2007 8:46 pm

Re: 500 User denies from using Command CWD

by cynkan » Fri Apr 03, 2015 5:11 pm

Last edited by cynkan on Fri Apr 03, 2015 5:59 pm, edited 1 time in total.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: 500 User denies from using Command CWD

by support2 » Fri Apr 03, 2015 5:21 pm

Oops yes - but you just set the UserName and Password properties prior to calling Login().
no avatar
User

cynkan

Posts

5

Joined

Fri Mar 02, 2007 8:46 pm

Re: 500 User denies from using Command CWD

by cynkan » Fri Apr 03, 2015 6:00 pm


Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron