We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I try to login to a ftp server, return a unexpected error that "Send 'CLNT client_type' before enabling UTF8."
And I can login the ftp server by Filezilla success
Pls help on it, below is my code:
type FTPClient struct { client *ftp.ServerConn } func NewFTPClient(server, username, password string) (*FTPClient, error) { client, err := ftp.Dial(server) if err != nil { return nil, err } err = client.Login(username, password) if err != nil { _ = client.Quit() return nil, err } return &FTPClient{client: client}, nil }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
When I try to login to a ftp server, return a unexpected error that "Send 'CLNT client_type' before enabling UTF8."
And I can login the ftp server by Filezilla success
Pls help on it, below is my code:
The text was updated successfully, but these errors were encountered: