[sftp] (c:\www\foo\…) config file not found
See original GitHub issueExpected Behavior
Right click on a file and choosing “SFTP: Upload” uploads the file.
Actual Behavior
Error message and no upload: [sftp] (c:\www\foo\index.php) config file not found
Requisites (important to diagnose the problem!)
Extension Logs
[info]: config at c:\www\foo{
"host": "host",
"port": 22,
"username": "login",
"password": "password",
"protocol": "sftp",
"agent": null,
"privateKeyPath": null,
"passphrase": null,
"passive": false,
"interactiveAuth": false,
"remotePath": "bar",
"uploadOnSave": true,
"syncMode": "update",
"watcher": {
"files": false,
"autoUpload": true,
"autoDelete": false
},
"ignore": [
"c:/www/foo/**/.git/**",
"c:/www/incatering/**/.DS_Store",
"c:/www/incatering/**/node_modules",
"bar/**/.git/**",
"bar/**/.DS_Store",
"bar/**/node_modules"
],
"context": "c:\\www\\foo"
}
and the error itself:
[error]: context: undefined reason: Error: (c:\www\foo\index.php) config file not found
at runTask (C:\Users\X\.vscode\extensions\liximomo.sftp-0.9.4\out\src\helper\createCommand.js:13:19)
at Array.forEach (native)
at runTasks (C:\Users\X\.vscode\extensions\liximomo.sftp-0.9.4\out\src\helper\createCommand.js:16:52)
at getTarget.then.target (C:\Users\X\.vscode\extensions\liximomo.sftp-0.9.4\out\src\helper\createCommand.js:22:9)
at <anonymous>
Specifications
- Version: 0.9.4
- Platform: Windows 8.1 64-bit
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Error: Config Not Found · Issue #394 · liximomo/vscode-sftp
In the log output, SFTP finds the config file and outputs to the console, then I attempt to upload a file, and I'm...
Read more >Task Factory – SFTP Task File Doesn't Exist on the Server
There is only one reason this error occurs and it is an incorrectly written SFTP File Path. This issue is resolved in the...
Read more >Troubleshoot SFTP server connection issues - Adobe Support
HKEY_CURRENT_USER\SOFTWARE\Adobe\Dreamweaver 2021\Site Preferences. Find Use SFTP Legacy Algorithms From Config File and set it to TRUE.
Read more >Sublime Text 3 SFTP - Stack Overflow
The directory path that this error is referencing is in the tmp folder... do I have to manually add a sftp-config.json file to...
Read more >How To Use SFTP to Securely Transfer Files with a Remote ...
SFTP is a secure way to transfer files between local and remote ... Note that the commands available within the SFTP interface are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same error on MacOS High Sierra (10.13.2). As a workaround, I edited the sftp.json file by adding an extra property, saved it, and then it worked again
Fix in 0.9.5.