Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uploadOnSave and directory creation issues #365

Open
Ackerven opened this issue Mar 9, 2023 · 1 comment
Open

uploadOnSave and directory creation issues #365

Ackerven opened this issue Mar 9, 2023 · 1 comment

Comments

@Ackerven
Copy link

Ackerven commented Mar 9, 2023

I use ftp-sync in Visual Studio Code, it's a great plugin and it solves a lot of my needs.

During use, I found some problems with ftp-sync:

  1. I set uploadOnSave to flase in .vscode/ftp-sync.json, but it will still upload automatically when saving
  2. When I create a directory in vscode, it automatically creates a file with the same name on the server

image

This is the debug log:

9/3/2023 @ 8:42:54 > [sync-helper] uploading: time
9/3/2023 @ 8:42:54 > [sync-helper] connect

Here is my configuration file:

{
    "remotePath": "vth/vth-notebook2/src",
    "host": "**secret**",
    "username": "**secret**",
    "password": "**secret**",
    "port": 22,
    "secure": false,
    "protocol": "sftp",
    "uploadOnSave": false,
    "passive": false,
    "debug": true,
    "privateKeyPath": null,
    "passphrase": null,
    "agent": null,
    "allow": [],
    "ignore": [
        "\\.vscode",
        "\\.git",
        "\\.DS_Store",
        "\\.node_modules"
    ],
    "generatedFiles": {
        "extensionsToInclude": [
            ""
        ],
        "path": ""
    }
}
@nguyentrongbangspectos
Copy link

Same issue with @Ackerven. It uploads automatically although I set "uploadOnSave": false,
Using Ubuntu and VS latest version

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

No branches or pull requests

2 participants