vscode-sftp
vscode-sftp copied to clipboard
Sync not working with Tasks: Run Task
I created a task in VSCode to run the sync command, but it's not working.
Here's my tasks.json:
{
"version": "2.0.0",
"tasks": [
{
"label": "SFTP Sync Local -> Remote",
"command": "${command:sftp.sync.localToRemote}",
"type": "process",
"problemMatcher": [],
}
]
}
When I run the task via the command pallette 'Tasks: Run Task' I get the following error:
* Executing task: <...my local path...>\sftp.sync.localToRemote
* The terminal process failed to launch: Path to shell executable '_<...my local path...>_\sftp.sync.localToRemote" does not exist.
And when I try to run the task with an extension called Task Explorer I get:
[error] Error: Config Not Found. (file:///${command:sftp.sync.localToRemote})
The sync command however does work when I use a keybinding. It then asks 'Select a folder' after which it runs fine.
Any ideas?