pyftpdlib icon indicating copy to clipboard operation
pyftpdlib copied to clipboard

Error when client sends "OPTS UTF8 ON"

Open dfrison01 opened this issue 4 years ago • 2 comments

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!

dfrison01 avatar Jun 23 '20 03:06 dfrison01

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.

...

SirNutt avatar Jul 23 '20 17:07 SirNutt

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

burgerbecky avatar Nov 30 '22 00:11 burgerbecky