Skip to content
New issue

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

Protection level negotiation failed #60

Open
dennisjade opened this issue Dec 28, 2017 · 1 comment
Open

Protection level negotiation failed #60

dennisjade opened this issue Dec 28, 2017 · 1 comment

Comments

@dennisjade
Copy link

Anybody has clue on what I am missing here as using "addFile" method doesn't work but other commands such as "ls" works. I was thinking it could be properly setting additional FTP commands

Object {error: put: files/Profile_20171228090900.zip: Access fail…negotiation failed.

    "port": 990,
    "username": "xxxx",
    "password": "xxxxx",
    "autoConfirm": true,
    "protocol": "ftps",
    "retries": 2,
    "additionalLftpCommands": "set ssl:verify-certificate no; set ssl-allow false; set passive-mode yes"```

Note: No problem using FileZilla client to upload file
@salunn
Copy link

salunn commented Jun 27, 2019

Can't have protocol ftps and ssl-allow false. FTPS is FTP over TLS, and TLS is (omitting specifics) SSL.

Try these:

additionalLftpCommands: [
        'set ssl:verify-certificate no',
        'set ssl-force true',
        'set ssl-protect-data true'
      ].join(';')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants