[Atom][Remote-ftp] Unable to connect ftps/ftpes

Below two issues I was facing while trying to create ftps connection.

  • 421 Sorry, cleartext sessions are not accepted on this server.
  • Uncaught No protocol found in connection credential

It was solved after some config changes, which I'm putting in the answer. Same should work for ftpes.

Replay

Tried this and worked (see "secure" and "secureOptions" specifically):

{
    "protocol": "ftp",
    "host": "***FTP_HOSTNAME_HERE***",
    "port": 21,
    "user": "***YOUR_USERNAME_HERE***",
    "pass": "***YOUR_PASSWORD_HERE***",
    "promptForPass": false,
    "remote": "***REMOTE_PATH_HERE***",
    "secure": true,
    "secureOptions": {"rejectUnauthorized": false, "requestCert": true, "agent": false},
    "connTimeout": 10000, // integer - How long (in milliseconds) to wait for the control connection to be established. Default: 10000
    "pasvTimeout": 10000, // integer - How long (in milliseconds) to wait for a PASV data connection to be established. Default: 10000
    "keepalive": 10000, // integer - How often (in milliseconds) to send a 'dummy' (NOOP) command to keep the connection alive. Default: 10000
    "watch":[]
}

Note that "protocol" should always be "ftp" for ftp/ftps/ftpes.

Category: ftp Time: 2016-07-31 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.123 (s). 12 q(s)