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?
问题:
回答1:
"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:
- https://filezilla-project.org/
回答2:
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.
回答3:
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.
回答4:
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.
回答5:
add a ftpes://
before the domain name
回答6:
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.