421 Sorry, cleartext sessions are not accepted on this server.

Ftp

Ftp Problem Overview


I'm trying to access an ftp from my web browser, but I get the following error : 421 Sorry, cleartext sessions are not accepted on this server. Any ideas?

Ftp Solutions


Solution 1 - Ftp

"421 Sorry, cleartext sessions are not accepted on this server" means that the server is using "FTP Over Explicit TLS/SSL". This is a Good Thing.

You might be able to fix it by giving the protocol "ftpes:" instead of "ftp:":

  • ftpes://ftp.somesite.com/some_folder

... or ...

  • ftps://ftp.somesite.com/some_folder

You'll probably need to use another FTP client besides your default browser.

I don't know if newer versions of IE support FTP over SSL.

Filezilla might be a good choice:

Solution 2 - Ftp

In Filezilla.. under "File" click on the icon to open the "site manager".. then over to the right click on the "General" tab which is probably already open by default.

On the third line down where it says "Encryption".. choose "Require Explicit FTP over TLS"

That one worked fine for me.

Solution 3 - Ftp

Solution:
Just add a ftpes:// before the domain name

for example Old One,
host : domain.com
username : xxx
pass : yyy
port : 21

Now the new.
host : ftpes://domain.com
username : xxx
pass : yyy
port : 21

Advanced Option,

Login to Web Host Manager
Go To : Service Configuration
Go To : FTP Server Configuration
Check that :
TLS Encryption Support : set to “Optional”

Try that, it will work.

Solution 4 - Ftp

I was also facing the same issue and resolved after doing the following thing. If you are using filezilla as ftp client, then try this.

Host: ftpes://mydomain.com

UserName: yourUsername

Password: yourPassword

You need to just modify the Host URL. add the ftpes:// before the domain name.

Basically this issue is only coming if you are trying to access you web server from your linux(Ubuntu) machine. From windows system its working fine.

Solution 5 - Ftp

add a ftpes:// before the domain name

Solution 6 - Ftp

If this did not work with this changes do following change. In Filezilla goto

  Edit=>Settings=>Connection=>FTP
  Here Change transfer mode from Active to Passive and press OK and try connecting again.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionhillsproView Question on Stackoverflow
Solution 1 - Ftppaulsm4View Answer on Stackoverflow
Solution 2 - FtpRobView Answer on Stackoverflow
Solution 3 - FtpManoj PrajapatView Answer on Stackoverflow
Solution 4 - FtpTabishView Answer on Stackoverflow
Solution 5 - FtpSourabhView Answer on Stackoverflow
Solution 6 - FtpNileshView Answer on Stackoverflow