simple-ftpd
simple-ftpd copied to clipboard
Firefox causes an error "data encoding must be set to utf8 for listing"
When using Firefox to access ftp://localhost:1337/, the library throws the above error. The actual value of dataEncoding is binary. When I comment the check out, LIST works okay anyway.
It's Firefox setting this:
> TYPE I
OK: 200 Transfer type set to binary
Any way to address this?
Same problem with FileZilla
I commented it out and it worked successfully.
simple-ftpd/lib/requests/list.js
// if (this.dataEncoding !== 'utf8') {
// return this.respond(550, 'data encoding must be set to utf8 for listing')
// }