Giter Club home page Giter Club logo

Comments (18)

hajekj avatar hajekj commented on August 22, 2024 1

This is now resolved and #62 is merged into master.

from vscode-ftp-sync.

FahadAli-Khan avatar FahadAli-Khan commented on August 22, 2024 1

"port": 21,
"secure": true,
"protocol": "ftpes",
"secureOptions": {"rejectUnauthorized": false},
This works fine for me

from vscode-ftp-sync.

lukasz-wronski avatar lukasz-wronski commented on August 22, 2024

It should support FTPS already.. isn't it?

from vscode-ftp-sync.

MinimalDigital avatar MinimalDigital commented on August 22, 2024

Ah that's great if it does. I hadn't seen any reference to FTPS (FTP over SSL) in the readme, version history or GitHub issues. Only SFTP (Secure File Transfer Protocol) seems to be mentioned (and supported). I don't have the ability to test it myself just yet so I thought I'd ask the question.

Also thanks for the quick response!

from vscode-ftp-sync.

lukasz-wronski avatar lukasz-wronski commented on August 22, 2024

AFAIK the library I use for FTP supports FTPS without any problems as this
is the same protocol in terms of communication... Can anyone confirm it
works fine?

from vscode-ftp-sync.

KooiRUG avatar KooiRUG commented on August 22, 2024

Ftps doesn't work here, sorry.

from vscode-ftp-sync.

lukasz-wronski avatar lukasz-wronski commented on August 22, 2024

@KooiRUG, can you show me your config (without sensitive data)?

from vscode-ftp-sync.

KooiRUG avatar KooiRUG commented on August 22, 2024

@lukasz-wronski yep, here it is:

{
    "remotePath": "/my/path",
    "host": "nicon.nl",
    "protocol": "ftp",
    "port": 21,
    "secure": true,
    "password": "****",
    "username": "****", 
    "uploadOnSave": true,
    "passive": true,
    "debug": false,
    "ignore": [
        "\\.vscode",
        "\\.git"
    ]
}

And this is how it shows up in my ftp-server:

(000143)2/14/2016 16:04:11 PM - (not logged in) ([ip])> 220----------------------------------------------------------
(000143)2/14/2016 16:04:11 PM - (not logged in) ([ip])> 220- This is NICons FTP-server. We only allow sftp/ftps
(000143)2/14/2016 16:04:11 PM - (not logged in) ([ip])> 220 ---------------------------------------------------------
(000143)2/14/2016 16:04:11 PM - (not logged in) ([ip])> USER ****
(000143)2/14/2016 16:04:11 PM - (not logged in) ([ip])> 530 This server does not allow plain FTP. You have to use FTP over TLS.
(000143)2/14/2016 16:04:11 PM - (not logged in) ([ip])> disconnected.

In other words, no tls-attempt is made (no AUTH TLS command is sent).
But then again, may be my config is all wrong?

from vscode-ftp-sync.

lukasz-wronski avatar lukasz-wronski commented on August 22, 2024

@KooiRUG: Is this a correct port for FTPS connection? Shouldn't you use port 990?

from vscode-ftp-sync.

KooiRUG avatar KooiRUG commented on August 22, 2024

@lukasz-wronski Port 21 will do (explicit over SSL/TLS shares its port with the regular ftp-port), port 990 is for an implicit connection. Tried that too, but using port 990, we're not going beyond:

(000158)2/14/2016 17:38:47 PM - (not logged in) ([ip])> Connected on port 990, sending welcome message...

To be sure implicit connections work @ my server, I connected using another application:

(000159)2/14/2016 17:40:58 PM - (not logged in) ([ip])> Connected on port 990, sending welcome message...
(000159)2/14/2016 17:41:04 PM - (not logged in) ([ip])> SSL connection established
(000159)2/14/2016 17:41:06 PM - (not logged in) ([ip])> USER ****
(000159)2/14/2016 17:41:06 PM - (not logged in) ([ip])> 331 Password required for ****
(000159)2/14/2016 17:41:07 PM - (not logged in) ([ip])> PASS ****
(000159)2/14/2016 17:41:07 PM - **** ([ip])> 230 Logged on

from vscode-ftp-sync.

AdrienCasagrande avatar AdrienCasagrande commented on August 22, 2024

In modules/ftp-config.js .getSyncConfig doesn't return any 'secure' option. So node-ftp always use the default false value.

getSyncConfig: function() {
        var config = this.getConfig();
        return {
            local: config.localPath,
            remote: upath.toUnix(config.remotePath),
            host: config.host,
            port: config.port,
            user: config.username,
            password: config.password,
            **secure: config.secure,**
            ignore: config.ignore,
            passive: config.passive,
            protocol: config.protocol || "ftp",
            privateKeyPath: config.privateKeyPath,
            debug: config.debug ? function(msg) {
                output(msg);
            } : null
        }

from vscode-ftp-sync.

devmount avatar devmount commented on August 22, 2024

Is there any solution? My provider only allows FTP over TLS...

from vscode-ftp-sync.

Feday avatar Feday commented on August 22, 2024

Hello there, I also confirm that cannot use FTP over SSL

from vscode-ftp-sync.

hajekj avatar hajekj commented on August 22, 2024

Hey guys, created a pull request in order to enable the support (successfully tested it also).

from vscode-ftp-sync.

MinimalDigital avatar MinimalDigital commented on August 22, 2024

Is there any chance of this being added to the next release?

from vscode-ftp-sync.

bholmes451 avatar bholmes451 commented on August 22, 2024

I'm interested in using this also. I have been using Filezilla but attempting to streamline my dev process currently and I liked this ftp plugin for vscode better than the other one :-)

from vscode-ftp-sync.

michalhudecek avatar michalhudecek commented on August 22, 2024

Any progress on this? We are forced to use FTPS on our server.

from vscode-ftp-sync.

cfmx avatar cfmx commented on August 22, 2024

"port": 21, "secure": true, "protocol": "ftpes", "secureOptions": {"rejectUnauthorized": false}, This works fine for me

+1

from vscode-ftp-sync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.