giampaolo / pyftpdlib

Extremely fast and scalable Python FTP server library
MIT License
1.65k stars 267 forks source link

Error when client sends "OPTS UTF8 ON" #531

Open dfrison01 opened 4 years ago

dfrison01 commented 4 years ago

Hi! I'm currently having this issue, trying to connect a pyftpsync client to a pyftpdlib server. The client response is: "Could not send 'OPTS UTF8 ON': '501 Invalid argument.'" The pyftpdlib server logs no output.

Python 3.7 pyftpdlib 1.5.6 pyftpsync 3.1.0

Shouldn't the pyftpdlib server deal with this?! Any workarounds? I appreciate any help!

SirNutt commented 4 years ago

Same thing here https://github.com/giampaolo/pyftpdlib/issues/266

TLDR from that issue:

From g.rodola on July 16, 2013 05:55:29


...
As per RFC-2640 client and server should just use UTF-8 by default. 
Expressively enabling it via OPTS is uncompliant and I find astonishing that a 
company like Microsoft, with thousands of developers, can produce software of 
this quality.

...

burgerbecky commented 1 year ago

I'm getting this error. The ftp host is HostGator.com.