FTP logon error details

Source: Internet
Author: User
Tags ftp login ftp site socket error

Ftp login is not a common problem. Many people often post questions without analysis. To be honest, it is a waste of time, energy, and satisfaction. Therefore, it is necessary for every friend who wishes to discover resources from the ftp site to learn the cause of Logon Failure:

The so-called logon prompt refers to some instructions and status prompts that you communicate with the server in two ways during login. If you see such prompts, it is:

* ** CuteFTP Pro 2.0-build Dec 4 2001 ***

Status:> retrieving list ""...

Status:> connecting to ftp server 211. *: * (ip = 211 .*.*.*:*)...

Status:> Socket is connected. Waiting for a welcome message...

220 FTP server started

Status:> connected. Verifying...

Command:> USER software

331 User name okay, need password.

Command:> PASS *****

230 User logged in, proceed.

Status:> logon successful.

Command:> PWD

257 route /" is current directory.

This is very important. Please pay attention to it.

Common error analysis:

If you see the following words, and stay for a long time

Status:> connecting to ftp server 211. *: * (ip = 211 .*.*.*:*)...

See:

Error:> unable to connect to the remote server. Socket error = #10060.

Status:> waiting for 30 seconds...

There are two possibilities for this situation:

1. the other party has not enabled ftp or cannot connect. Please contact the ftp Manager

The second reason is that the port is incorrect. Generally, the default value is 21. However, this port is prone to conflict in some networks, and security is also debatable. Therefore, Most ftp ports are changed. If you do not enter the port (the ftp software defaults to 21) or enter an error, it will also cause 10060 errors.
 
 
If the following words are displayed:

Thu Mar 07 11:44:56 2002 530 Sorry, no ANONYMOUS access allowed

This indicates that anonymous users are not allowed to log on to the ftp. Contact the ftp administrator and obtain an account.

Thu Mar 07 11:46:29 2002 USER bugdown

Thu Mar 07 11:46:30 2002 331 User name okay, need password.

Thu Mar 07 11:46:30 2002 PASS ********

Thu Mar 07 11:46:30 2002 Not logged in.

There are two possibilities:

1. logon denied due to incorrect account or password entered. Please first confirm that you have not entered the error (it is recommended that you copy and paste the complicated password, and pay attention to whether there are spaces), and then contact the ftp manager to confirm that your account has not expired. Currently, most ftp servers change their passwords on a regular basis. Therefore, this error is the most common.

2. when a dynamic domain name such as a peanut shell is used, sometimes this phenomenon occurs: If ftp is not enabled, when someone logs in with a dynamic domain name, the dynamic Domain Name Service Provider automatically redirects you to its own prompt ftp. At this time, there may be a Password error or login to its server. Some ftp files based on iis may be transferred to Microsoft servers.

Thu Mar 07 11:51:25 2002 Too processing users-please try again later.

This is because the ftp administrator has set the maximum number of login users for this account (or this domain name) and has reached this limit, so you cannot log on. You can access ftp only when other users exit or use other accounts.

Command:> PASS *****

530 Not logged in, only one session from same IP allowed at a time.

Error:> not logged on.

Status:> the connection is closed.

This account only allows single-thread login, so please note whether you open multiple windows or there is already a thread downloading

When the number of login users is full, and you are constantly trying to log on, there are three possible situations:

1. You finally squeezed in

2. When an error is prompted in the dialog box, you can see the following words in the logon error command:

Error:> the control connection is closed.

It indicates that the ftp server intercepts such frequent attempts. You can ignore it and try again after confirming it; but a slightly ethical person should modify the interval of connection retry attempts in the global settings of the ftp software to a large value, generally, 30 seconds to 2 minutes are recommended.

3. You have been banned. The server created by serv-U cannot automatically ban the ip address, but the administrator can manually ban the ip address. Some server software can automatically seal the ip address. The ban prompt is:

Command:> PASS *****

530 Not logged in, unauthorized IP address.

The above prompt:

Command:> PASS *****

530 Not logged in, unauthorized IP address.

That is to say, your ip address is illegal, for whatever reason, unless you contact the Administrator and unseal it, it is really unnecessary to continue trying. Of course, the manager may only ban you for a while, and you can try again later. But remember to change the interval of your attempt.
 
 

Sometimes it's not because you are blocked, but because this account only has some licensed ip addresses that can be logged on. You must also contact the Administrator and ask him to manually add your ip address.

Common FTP login Log information:

1. Connected. Waiting for response.

220 Serv-u ftp Server v4.0 for WinSock ready...

USER anonymous

530 Sorry, no ANONYMOUS access allowed.

QUIT

You are not allowed to log on anonymously.

2. Connected. Waiting for response.

220 Serv-u ftp Server v4.0 for WinSock ready...

USER test

331 User name okay, need password.

PASS xxxxxx

530 Not logged in.

QUIT

It is generally the information that appears when the password is entered incorrectly, but for Serv-U, if this account (test) does not exist, the same error information will also be generated.

3. Connecting to xxx. xxx, Port 21 (#1)

ERROR: Connection timed out

This indicates that the other party is not on the machine, or the other party may not be within the range you can access.

4. Connecting to xxx. xxx Port 21 (#1)

ERROR: Connection refused

This usually indicates that the other party has started, but the FTP service has not been enabled (no Serv-U is enabled)

Or the other party may not provide services on this port.

5. Connecting to xxx. xxx, Port 21 (#1)

Connected. Waiting for response.

Disconnected from server.

Connection attempt failed. Waiting for retry...

It is really unfortunate to see this information. You are very likely to be banned by the other party.

If it's only Ban for a few minutes or a few hours or a day, it's okay. Otherwise, you have to say something nice to the webmaster and ask him to unban it for you.

6. Connecting to xxx. xxx, Port 21 (#1)

Connected. Waiting for response.

USER XXX

331 User name okay, need password

PASS xxxxxx

530 Not logged in, unauthorized IP address.

QUIT

This is a little troublesome. your IP address is not within the IP address range allowed by the webmaster. You only need to contact the webmaster and ask him to add your IP address segment to the Allow Access list.
 
 

7. Connected. Waiting for response.

220 Serv-u ftp Server v4.0 for WinSock ready...

USER user

421 Too extends users-please try again later.

Haha, this is very common. There are too many users. Anyone who has been to Jiaotong University knows how to do this.
8. Connected. Waiting for response.

220 Serv-u ftp Server v4.0 for WinSock ready...

USER test

530 Not logged in, only one (may also be two or three) session from same IP allowed at a time.

QUIT

You can only download one IP address (or two or three), so do not use multiple threads.

Full FTP Information Code solution:

110 Restart marker reply. in this case, the text is exact and not left to the particular implementation; it must read: MARK yyyy = mmmm where yyyy is User-process data stream marker, and mmmm servers equivalent marker (note the spaces between markers and "= ".

Restart flag response. In this case, the information is accurate and does not need to be specially processed. You can see that in the mark yyyy = mmm, yyyy is the user process data stream mark, mmmm is the corresponding mark on the server (note the space between the mark and equal sign)

120 Service ready in nnn minutes.

Service available in NNN time

125 Data connection already open; transfer starting.

The data connection is enabled and data transmission starts.

150 File status okay; about to open data connection.

The file status is correct. The data connection is being opened.

200 Command okay.

Command Execution ends normally.

202 Command not implemented, superfluous at this site.

The command is not executed. This site does not support this command.

211 System status, or system help reply.

System status or system help information response.

212 Directory status.

Directory status information.

213 File status.

File status information.

214 Help message. On how to use the server or the meaning of a particle non-standard command. This reply is useful only to the human user.

Help information. About how to use this server or special non-standard commands. This reply is only useful to people.

215 NAME system type. Where NAME is an official system name from the list in the Assigned Numbers document.

NAME system type.

220 Service ready for new user.

The connected user's service is ready

221 Service closing control connection.

Close Control connection

225 Data connection open; no transfer in progress.

The data connection is enabled, and no data is being transferred.

226 Closing data connection. Requested file action successful (for example, file transfer or file abort ).

Closing data connection. The request file action ends successfully (for example, file transfer or termination)

227 Entering Passive Mod

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.