{
    "name": "网站名字",
    "host": "你的服务器ip",
    "port": 21,
    "username": "",
    "password": "",
    "protocol": "ftp", 
    "agent": null,
    "privateKeyPath": null, 
    "passphrase": null, 
    "passive": false, 
    "interactiveAuth": true,
    "remotePath": "/",
    "uploadOnSave": true,
    "connectTimeout":300,
    "syncMode": "update",
    "ignore": [
        "**/.vscode/**",
        "**/.git/**",
        "**/.DS_Store"
    ],
    "watcher": {
        "files": "glob",
        "autoUpload": true,
        "autoDelete": true
    }
}
 
加上     "connectTimeout":300超时时间 300毫秒,就变快了。。。
vscode ftp上传很慢,但是普通ftp软件正常

相关文章:

  • 2021-11-30
  • 2021-11-17
  • 2022-12-23
  • 2021-09-28
  • 2021-06-28
  • 2021-07-27
  • 2021-06-19
  • 2022-01-03
猜你喜欢
  • 2021-11-17
  • 2021-09-04
  • 2021-08-28
  • 2021-04-18
  • 2021-04-26
  • 2021-06-01
  • 2021-08-07
相关资源
相似解决方案