FTP-Sync for Visual Studio Code with implicit FTP TLS/SSL



我正在尝试使用FTP-Sync包在Visual Studio Code上模仿我的工作WinSCP FTP站点,但由于某种原因我无法完成此操作。

我们的服务器需要隐式FTP,所以我的工作站点ftps://ftpwebsite.user:990,它会提示我的用户并通过哪个有效。

此包尝试连接一分钟,然后关闭但没有运气。

配置文件:

{
    "protocol": "ftps",
    "host": "ftpweb.user",
    "port": 990,
    "user": "ftpweb.user|user123",
    "pass": "**********",
    "remote": "/",
    "secure": false,
    "uploadOnSave": true,
    "passive": true,
    "debug": true,
    "privateKeyPath": null,
    "passphrase": null,
    "agent": null,
    "watch":[],
    "watchTimeout": 500,
    "allow": [],
    "ignore": [
        "\.vscode",
        "\.git",
        "\.DS_Store"
    ],
    "generatedFiles": {
        "extensionsToInclude": [
            ""
        ],
        "path": ""
    }
}

似乎ftp-sync使用Node.js node-ftp模块。

似乎要使用隐式TLS/SSL,您需要将secure设置为implicit

安全 - 混合 - 对于控制和数据连接加密设置为 true,对于仅控制连接加密设置为 true,对于隐式加密的控制连接设置为"隐式"(此模式在现代已弃用,但通常使用端口 990( 默认值:假

参见 如何使用nodeJS连接到隐式FTPS服务器?


虽然您确定需要使用隐式模式吗?正如上述文档中提到的,隐式模式已经过时。

最新更新