lukasz-wronski / vscode-ftp-sync

Ftp Sync plugin for Visual Studio Code
https://marketplace.visualstudio.com/items/lukasz-wronski.ftp-sync
320 stars 85 forks source link

Not a regular file error on every directory #278

Open lelu0 opened 5 years ago

lelu0 commented 5 years ago

Hi, every time when i upload files to remote i get errors pointing to directory containing these files. It says that it's not a regular file. Example here: http://prntscr.com/m7tg3l/ . Files are upload corectly, but it's annoying. Is it my mistake or issue?

mirao commented 5 years ago

Have the same issue. When I update local files using my SVN client (and it invokes remote SSH upload using ftp-sync), I get error messages about failed upload of folders. It seems that the changed files are uploaded correctly, but the errors seem to be confusing.

Used SW:

Config:

{
    "remotePath": "/var/www/bmdcon/jobr/",
    "host": "myhost.lab",
    "username": "jobr",
    "password": "password",
    "port": 22,
    "protocol": "sftp",
    "uploadOnSave": true,
    "passive": false,
    "debug": true,
    "privateKeyPath": null,
    "ignore": [
        "\\.vscode",
        "\\.git",
        "\\.svn",
        "/img/questions",
        "ProEdApps-old.apk",
        "ProEdApps-new.apk"
    ]
}

An example: File in folder "access" was changed. image