Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

No FTPS support #67

Closed
textoo opened this issue May 31, 2018 · 5 comments
Closed

No FTPS support #67

textoo opened this issue May 31, 2018 · 5 comments

Comments

@textoo
Copy link

textoo commented May 31, 2018

Hello,

i can't find any mention on FTPS support in the wiki, i currently use the former extension and i realy need this feature to switch to the new one.
is this feature is supported or will be supported in a near future ?

thanks

@hajekj
Copy link
Contributor

hajekj commented Jun 7, 2018

@mkloubert: Could you please update the wiki to reflect the changes in #70 - I don't seem to be able fork and modify the wiki.

@mkloubert
Copy link
Owner

@hajekj

Of, course!

I started to integrate your changes ... I hope, I can release them in about 2 hours.

@mkloubert
Copy link
Owner

mkloubert commented Jun 7, 2018

@textoo

@hajekj implemented secure FTPS support for ftp targets, which is available since version 0.75.0.

A simple way to activate it, is to setup your target the following way:

{
    "deploy.reloaded": {
        "targets": [
            {
                "type": "ftp",
                "name": "My secure FTPS folder",

                "engine": "ftp",
                "secure": true,
                "host": "ftps.example.com", "port": 990,

                "dir": "/",
                "user": "<YOUR_USER>", "password": "<YOUR-PASSWORD>"
            }
        ]
    }
}

Please let us known, if that works for you.

Keep sure to have Visua Studio Code 1.23 installed, at least!

@textoo
Copy link
Author

textoo commented Jun 7, 2018

hello , thanks @hajekj and @mkloubert

just tested it :
removed former extension, installed the reloaded one, renamed "deploy" section in settings by "deploy.reloaded"

and get "550 SSL/TLS required on the control channel" warning/error in the output (when trying to deploy)
EDIT : it works with "engine" : "ftp" option

i use VSCode 1.24

my obfuscated config :

{
    "deploy.reloaded": {
        "packages": [
            
        ],
        "targets": [
            {
                "name": "preprod",
                "type": "ftp",
                "port": 21,
                "user": "someuser",
                "password": "somepassword",
                "host": "someIP",
                "dir": "/somedirectory",
                "secure": true,
                "rejectUnauthorized": false
                
            },
            {
                "name": "prod",
                "type": "ftp",
                "port": 21,
                "user": "someotheruser",
                "password": "someotherpassword",
                "host": "someIP",
                "dir": "/someotherdirectory",
                "secure": true,
                "rejectUnauthorized": false
                
            }
        ]
    }
}

@textoo
Copy link
Author

textoo commented Jun 7, 2018

OK, added "engine" : "ftp" and it works!

good job! :)

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

No branches or pull requests

3 participants