vscode-sftp: Error: Config Not Found
Do you read the FAQ?
- Yes.
Describe the bug Nothing works because on upload or on any action, this error is thrown: Config Not Found.
This is confusing because clearly the config is found on startup as evidenced by the log
To Reproduce
- Fresh install of Vs Code on Windows 10
- Install SFTP
- Open work space and create config file in .vscode folder
- Reload VS Code
- Attempt to upload something by right clicking and choosing upload
Expected behavior I would imagine the upload would complete successfully
Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
- OS: Windows
- VSCode Version 1.29
- Extension Version 1.7.4
Extension Logs - required
[info] config at \users\dan\documents\drxserver {"remotePath":"/drx_server","uploadOnSave":true,"downloadOnOpen":false,"ignore":[],"concurrency":4,"protocol":"sftp","connectTimeout":10000,"interactiveAuth":false,"secure":false,"passive":false,"remoteTimeOffsetInHours":0,"port":22,"host":"server.myground.org","username":"******","password":"******","context":"./Users/Dan/Documents/drx_server"}
[trace] run command 'Upload File'
[error] Error: Config Not Found. (file:///users/dan/documents/drxserver/drxserver/commands.py)
at Object.handleCtxFromUri (C:\Users\Dan\.vscode\extensions\liximomo.sftp-1.7.4\out\src\fileHandlers\createFileHandler.js:19:15)
at FileCommand.<anonymous> (C:\Users\Dan\.vscode\extensions\liximomo.sftp-1.7.4\out\src\commands\abstract\createCommand.js:50:71)
at Generator.next (<anonymous>)
at C:\Users\Dan\.vscode\extensions\liximomo.sftp-1.7.4\out\src\commands\abstract\createCommand.js:7:71
at new Promise (<anonymous>)
at __awaiter (C:\Users\Dan\.vscode\extensions\liximomo.sftp-1.7.4\out\src\commands\abstract\createCommand.js:3:12)
at targetList.map (C:\Users\Dan\.vscode\extensions\liximomo.sftp-1.7.4\out\src\commands\abstract\createCommand.js:48:62)
at Array.map (<anonymous>)
at FileCommand.<anonymous> (C:\Users\Dan\.vscode\extensions\liximomo.sftp-1.7.4\out\src\commands\abstract\createCommand.js:48:49)
at Generator.next (<anonymous>)
at fulfilled (C:\Users\Dan\.vscode\extensions\liximomo.sftp-1.7.4\out\src\commands\abstract\createCommand.js:4:58)
at <anonymous>
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 1
- Comments: 25 (7 by maintainers)
I’m also seeing this with multiple context.
Unable to install Extension ‘liximomo.sftp-1.9.2-debug’ as it is not compatible with Code ‘1.26.1’.
It worked for me only when I used the full path on “context”.
You can try to remove the slash / at the beginning of the config data: “context”: "client/build/". For me, it works.
It was possible to set the context to a relative path, but now we have to write the absolute path, otherwise we will report the error.
Unable to install Extension ‘liximomo.sftp-1.9.2-debug’ as it is not compatible with Code ‘1.25.1’. @liximomo