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

FTP 503 ERROR

no avatar
User

catscradle

Posts

2

Joined

Tue May 10, 2011 2:33 am

Location

NY,NY

FTP 503 ERROR

by catscradle » Tue May 10, 2011 3:32 am

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: FTP 503 ERROR

by support2 » Tue May 10, 2011 9:33 am

I don't really understand why you send the second USER command ... could you explain and post a log file at the debug level?
no avatar
User

catscradle

Posts

2

Joined

Tue May 10, 2011 2:33 am

Location

NY,NY

by catscradle » Tue May 10, 2011 12:55 pm

Sorry apparently we're not sending the USER edtFTP is
As I said, the whole thing works for a lot of sites, but not the one in question.
FTPReply reply = control.SendCommand("USER " + user);

Here's the log entry

INFO SNP_CONNECTION_PARAMS Logging in
INFOExpected reply codes = [230,331]
INFO Bad sequence of commands. (code=503) : EnterpriseDT.Net.Ftp.FTPException: Bad sequence of commands. (code=503)
EnterpriseDT.Net.Ftp.FTPException: Bad sequence of commands. (code=503)
at EnterpriseDT.Net.Ftp.FTPControlSocket.ValidateReply(FTPReply reply, String[] expectedReplyCodes) in C:\Projects\BNYM.APT.DPP.FTP.root\BNYM.APT.DPP.FTP\edtftpnet-1.2.6\src\net\ftp\FTPControlSocket.cs:line 889
at EnterpriseDT.Net.Ftp.FTPClient.Login(String user, String password) in C:\Projects\BNYM.APT.DPP.FTP.root\BNYM.APT.DPP.FTP\edtftpnet-1.2.6\src\net\ftp\FTPClient.cs:line 1454
at BNYM.APT.DPP.FTP.FTPOperation.Execute(String configsectionlabel) in C:\Projects\BNYM.APT.DPP.FTP.root\BNYM.APT.DPP.FTP\BNYM.APT.DPP.FTP\BNYM.APT.DPP.FTP\FTPOperation.cs:line 52
INFO SNP_CONNECTION_PARAMS starting 5/5/2011 7:33:06 AM
INFO SNP_CONNECTION_PARAMS Logging in
INFOExpected reply codes = [230,331]
INFO Bad sequence of commands. (code=503) : EnterpriseDT.Net.Ftp.FTPException: Bad sequence of commands. (code=503)
EnterpriseDT.Net.Ftp.FTPException: Bad sequence of commands. (code=503)

Who is online

Users browsing this forum: No registered users and 89 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign