Need help?

Our experts have had an average response time of 13.14 minutes in February 2024 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

“331 password required for ftp” – What is this error & How to fix it

by | Nov 22, 2018

Member Login

File Transfer Protocol (FTP) is a great way to share files and directories.

With additional options to transfer large files, resume from failed transfer, scheduled uploads etc. FTP is quite popular. But at times, these transfer may not work correctly.

Then ftp server shows various responses and “331 password required for ftp” is one among them.

At Bobcares, we help website owners to fix FTP related errors as part of our Outsourced Technical Support for web hosts.

Today, let’s see more on the response code “331 password required for ftp“.

 

What is “331 password required for ftp” ?

In FTP, we normally transfer files using ftp clients such as FileZilla, CuteFTP, Serv-U etc.

Fortunately, the ftp server provides many interim messages while making connection between the computer and the server. All these messages contain an integer code in it.

In our code, the value is 331.

The 3xx range of code is a Positive Intermediate Reply. This means that the command was successful, but the server needs additional information from the client to complete processing the request.

The second digit as in “x3x” refers to authentication and accounting. They contain the replies for the login process and accounting procedures.

The third digit in the FTP server code gives further explanation on what exactly is causing this code.

In a nutshell, 331 error indicates that your ftp username is accepted by the server and now you need to provide a password.

 

Where we see “331 password required for ftp” ?

We normally see this status code after the ftp client sends a user name, regardless of whether the user name that is provided is a valid account on the system.

With our expertise in managing servers, we often we see this response from FTP in many ftp clients.

A typical response in FileZilla looks like :

Status: Resolving address of example.com
Status: Connecting to 192.168.xx.xx...
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Command: USER bob
Response: 331 Password required for bob
Command: PASS ****
Response: 530 Login or password incorrect!
Error: Critical error: Could not connect to server

Here, the response from the Filezilla is “PASS” where it provides the password of the ftp user “bob”.

This means that, for the FTP server response “331 password required”, all ftp clients need to reply back with the password of the ftp user.

 

How to solve issues with “331 password required for ftp” ?

Immediately, after the ftp response “331 password required”, ftp connection can break abruptly because of bad username and password combinations. And again this happens mainly due to two reasons.

 

1. Bad user name

The 331 ftp response is shown regardless of whether the user name that is provided is a valid account on the system. That is, by default ftp server accepts any given username.

The exact check is done when the password is supplied. And when there is a mismatch, ftp connection shows errors.

Recently, in a cPanel server, customer had problems connecting as ftp user. In cPanel, additional ftp accounts has the format of username@domainname. But customer was using only username without the “@domainname” part to connect.

To fix, our Support Engineers additionally verified the username and updated customer on the correct format of username.

 

2. Bad password

Similarly, ftp errors can happen with password problems as well. The typical cases here would be:

  1. Incorrect typing of password
  2. Empty password
  3. Using old password.

The simple solution here is to reset the ftp account password. And with the new password, ftp connection works fine.

Additionally, ftp errors can also occur due to connectivity issues to the ftp server. In such cases, our Support Engineers look for IP address block on server firewall, network connectivity issues from the customer side, Antivirus installed on customer’s personal workstation etc.

 

Conclusion

We normally see the status code “331 password required” after the ftp client sends a user name. Today, we’ve discussed on the scenarios where this response shows up. Also we saw typical errors related to this and how our Support Engineers fix them.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

SEE SERVER ADMIN PLANS

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

2 Comments

  1. Prévost maurel

    Salut j’ai voulu héberger un site et lorsque je vais sur Filezilla pour me connecter và mon serveur on dit le mot de passe est requis avec une erreur 331

    Reply
    • Hiba Razak

      Hi,
      Please contact our support team via live chat(click on the icon at right-bottom).

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Categories

Tags

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF