Open anurag-aadi opened 3 years ago
me too
me too :(
Try to disable and enable again, it's works for me.
Try to clear after uninstall and reload again, it seems to work for me
Mine actually uploads files but says it failed with an error message.
[06-23 13:06:27] [warn] Can't set modified time to the file because Failure [06-23 13:06:27] [error] Error: No such file
It's confusing and annoying to see the error every time.
not working after doing all this process
On Thu, Jun 24, 2021 at 1:39 AM B Daz @.***> wrote:
Mine actually uploads files but says it failed with an error message.
[06-23 13:06:27] [warn] Can't set modified time to the file because Failure [06-23 13:06:27] [error] Error: No such file
It's confusing and annoying to see the error every time.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/liximomo/vscode-sftp/issues/951#issuecomment-867124177, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYMO5W66YJTNYCFWRQXBEDTUI5N7ANCNFSM463SQIVQ .
-- Thanks and Regards Anurag Saxena Mobile : 9871814060
Hy everyone just change ssh2 version in package.json to 1.1.0 and run npm i
{
"name": "sftp",
"displayName": "SFTP",
"description": "SFTP/FTP sync",
"version": "1.12.9",
"publisher": "liximomo",
"author": "liximomo <liximomo@gmail.com> (https://liximomo.github.io/)",
"engines": {
"vscode": "^1.30.0"
},
"bugs": {
"url": "https://github.com/liximomo/vscode-sftp/issues",
"email": "liximomo@gmail.com"
},
"homepage": "https://github.com/liximomo/vscode-sftp/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/liximomo/vscode-sftp.git"
},
"categories": [
"Other"
],
"keywords": [
"ftp",
"sftp",
"sync",
"remote"
],
"activationEvents": [
"onCommand:sftp.config",
"workspaceContains:.vscode/sftp.json"
],
"icon": "resources/icon.png",
"main": "./dist/extension",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "sftp",
"title": "SFTP",
"icon": "resources/remote-explorer.svg"
}
]
},
"views": {
"sftp": [
{
"id": "remoteExplorer",
"name": "Explorer",
"when": "sftp.enabled"
}
]
},
"configuration": {
"type": "object",
"title": "sftp configuration",
"properties": {
"sftp.printDebugLog": {
"type": "boolean",
"default": false,
"description": "print debug log on sftp output channel.(reload vscode when change this)"
},
"sftp.debug": {
"type": "boolean",
"default": false,
"description": "print debug log on sftp output channel.(reload vscode when change this)"
},
"sftp.downloadWhenOpenInRemoteExplorer": {
"type": "boolean",
"default": false,
"description": "\"Download\" instead of \"View Content\" when open file in Remote Explorer"
}
}
},
"commands": [
{
"command": "sftp.config",
"title": "Config",
"category": "SFTP"
},
{
"command": "sftp.setProfile",
"title": "Set Profile",
"category": "SFTP"
},
{
"command": "sftp.openConnectInTerminal",
"title": "Open SSH in Terminal",
"category": "SFTP"
},
{
"command": "sftp.cancelAllTransfer",
"title": "Cancel All Transfers",
"category": "SFTP"
},
{
"command": "sftp.upload.file",
"title": "Upload",
"category": "SFTP"
},
{
"command": "sftp.upload.changedFiles",
"title": "Upload Changed Files",
"category": "SFTP",
"icon": {
"light": "resources/light/upload.svg",
"dark": "resources/dark/upload.svg"
}
},
{
"command": "sftp.upload.activeFile",
"title": "Upload Active File",
"category": "SFTP"
},
{
"command": "sftp.upload.folder",
"title": "Upload Folder",
"category": "SFTP"
},
{
"command": "sftp.upload.activeFolder",
"title": "Upload Active Folder",
"category": "SFTP"
},
{
"command": "sftp.upload.project",
"title": "Upload Project",
"category": "SFTP"
},
{
"command": "sftp.forceUpload",
"title": "Force Upload",
"category": "SFTP"
},
{
"command": "sftp.download.file",
"title": "Download",
"category": "SFTP"
},
{
"command": "sftp.download.activeFile",
"title": "Download Active File",
"category": "SFTP"
},
{
"command": "sftp.download.folder",
"title": "Download Folder",
"category": "SFTP"
},
{
"command": "sftp.download.activeFolder",
"title": "Download Active Folder",
"category": "SFTP"
},
{
"command": "sftp.download.project",
"title": "Download Project",
"category": "SFTP"
},
{
"command": "sftp.forceDownload",
"title": "Force Download",
"category": "SFTP"
},
{
"command": "sftp.sync.localToRemote",
"title": "Sync Local -> Remote",
"category": "SFTP"
},
{
"command": "sftp.sync.remoteToLocal",
"title": "Sync Remote -> Local",
"category": "SFTP"
},
{
"command": "sftp.sync.bothDirections",
"title": "Sync Both Directions",
"category": "SFTP"
},
{
"command": "sftp.diff",
"title": "Diff with Remote",
"category": "SFTP"
},
{
"command": "sftp.diff.activeFile",
"title": "Diff Active File with Remote",
"category": "SFTP"
},
{
"command": "sftp.list",
"title": "List",
"category": "SFTP"
},
{
"command": "sftp.listActiveFolder",
"title": "List Active Folder",
"category": "SFTP"
},
{
"command": "sftp.listAll",
"title": "List All",
"category": "SFTP"
},
{
"command": "sftp.delete.remote",
"title": "Delete",
"category": "SFTP"
},
{
"command": "sftp.revealInExplorer",
"title": "Reveal in Explorer",
"category": "SFTP"
},
{
"command": "sftp.revealInRemoteExplorer",
"title": "Reveal in Remote Explorer",
"category": "SFTP"
},
{
"command": "sftp.remoteExplorer.editInLocal",
"title": "Edit in Local",
"category": "SFTP"
},
{
"command": "sftp.viewContent",
"title": "View Content",
"category": "SFTP"
},
{
"command": "sftp.remoteExplorer.refresh",
"title": "Refresh",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
}
],
"menus": {
"commandPalette": [
{
"command": "sftp.setProfile",
"when": "sftp.enabled"
},
{
"command": "sftp.openConnectInTerminal",
"when": "sftp.enabled"
},
{
"command": "sftp.cancelAllTransfer",
"when": "sftp.enabled"
},
{
"command": "sftp.upload.activeFile",
"when": "sftp.enabled"
},
{
"command": "sftp.upload.activeFolder",
"when": "sftp.enabled"
},
{
"command": "sftp.upload.project",
"when": "sftp.enabled"
},
{
"command": "sftp.download.activeFile",
"when": "sftp.enabled"
},
{
"command": "sftp.download.activeFolder",
"when": "sftp.enabled"
},
{
"command": "sftp.download.project",
"when": "sftp.enabled"
},
{
"command": "sftp.sync.localToRemote",
"when": "sftp.enabled"
},
{
"command": "sftp.sync.remoteToLocal",
"when": "sftp.enabled"
},
{
"command": "sftp.sync.bothDirections",
"when": "sftp.enabled"
},
{
"command": "sftp.diff.activeFile",
"when": "sftp.enabled"
},
{
"command": "sftp.list",
"when": "sftp.enabled"
},
{
"command": "sftp.listActiveFolder",
"when": "sftp.enabled"
},
{
"command": "sftp.listAll",
"when": "sftp.enabled"
},
{
"command": "sftp.upload.file",
"when": "false"
},
{
"command": "sftp.upload.changedFiles",
"when": "false"
},
{
"command": "sftp.upload.folder",
"when": "false"
},
{
"command": "sftp.forceUpload",
"when": "false"
},
{
"command": "sftp.download.file",
"when": "false"
},
{
"command": "sftp.download.folder",
"when": "false"
},
{
"command": "sftp.forceDownload",
"when": "false"
},
{
"command": "sftp.diff",
"when": "false"
},
{
"command": "sftp.delete.remote",
"when": "false"
},
{
"command": "sftp.revealInExplorer",
"when": "false"
},
{
"command": "sftp.revealInRemoteExplorer",
"when": "false"
},
{
"command": "sftp.remoteExplorer.editInLocal",
"when": "false"
},
{
"command": "sftp.viewContent",
"when": "false"
},
{
"command": "sftp.remoteExplorer.refresh",
"when": "false"
}
],
"explorer/context": [
{
"command": "sftp.revealInRemoteExplorer",
"group": "navigation@20",
"when": "sftp.enabled && !explorerResourceIsRoot"
},
{
"command": "sftp.diff",
"group": "3_compare",
"when": "sftp.enabled && !explorerResourceIsRoot && !explorerResourceIsFolder"
},
{
"command": "sftp.sync.localToRemote",
"group": "sftp.sync@1",
"when": "sftp.enabled && explorerResourceIsFolder"
},
{
"command": "sftp.sync.remoteToLocal",
"group": "sftp.sync@2",
"when": "sftp.enabled && explorerResourceIsFolder"
},
{
"command": "sftp.sync.bothDirections",
"group": "sftp.sync@3",
"when": "sftp.enabled && explorerResourceIsFolder"
},
{
"command": "sftp.upload.file",
"group": "sftp.trans@1",
"when": "sftp.enabled && !explorerResourceIsRoot && !explorerResourceIsFolder"
},
{
"command": "sftp.upload.folder",
"group": "sftp.trans@1",
"alt": "sftp.forceUpload",
"when": "sftp.enabled && explorerResourceIsFolder"
},
{
"command": "sftp.download.file",
"group": "sftp.trans@2",
"when": "sftp.enabled && !explorerResourceIsRoot && !explorerResourceIsFolder"
},
{
"command": "sftp.download.folder",
"group": "sftp.trans@2",
"alt": "sftp.forceDownload",
"when": "sftp.enabled && explorerResourceIsFolder"
}
],
"editor/context": [
{
"command": "sftp.upload.file",
"group": "sftp.trans@1",
"when": "sftp.enabled && resourceScheme == file"
},
{
"command": "sftp.download.file",
"group": "sftp.trans@2",
"when": "sftp.enabled && resourceScheme == file"
},
{
"command": "sftp.diff",
"group": "3_compare",
"when": "sftp.enabled && resourceScheme == file"
},
{
"command": "sftp.remoteExplorer.editInLocal",
"group": "2_files",
"when": "sftp.enabled && resourceScheme == remote"
}
],
"editor/title/context": [
{
"command": "sftp.revealInExplorer",
"group": "2_files",
"when": "sftp.enabled && resourceScheme == remote"
},
{
"command": "sftp.revealInRemoteExplorer",
"when": "sftp.enabled && resourceScheme == file",
"group": "2_files"
}
],
"view/title": [
{
"command": "sftp.remoteExplorer.refresh",
"when": "view == remoteExplorer",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "sftp.openConnectInTerminal",
"group": "navigation",
"when": "view == remoteExplorer && viewItem == root"
},
{
"command": "sftp.remoteExplorer.editInLocal",
"group": "2_files",
"when": "view == remoteExplorer && viewItem == file && !config.sftp.downloadWhenOpenInRemoteExplorer"
},
{
"command": "sftp.viewContent",
"group": "2_files",
"when": "view == remoteExplorer && viewItem == file && config.sftp.downloadWhenOpenInRemoteExplorer"
},
{
"command": "sftp.revealInExplorer",
"group": "2_files",
"when": "view == remoteExplorer && viewItem != root"
},
{
"command": "sftp.delete.remote",
"group": "7_modification",
"when": "view == remoteExplorer && viewItem != root"
}
],
"scm/title": [
{
"command": "sftp.upload.changedFiles",
"group": "sftp",
"when": "sftp.enabled && scmProvider == git && !gitFreshRepository"
}
],
"scm/resourceGroup/context": [
{
"command": "sftp.upload.changedFiles",
"group": "inline",
"when": "sftp.enabled && scmProvider == git && scmResourceGroup == workingTree && !gitFreshRepository"
},
{
"command": "sftp.upload.changedFiles",
"group": "sftp",
"when": "sftp.enabled && scmProvider == git && scmResourceGroup == workingTree && !gitFreshRepository"
},
{
"command": "sftp.upload.changedFiles",
"group": "inline",
"when": "sftp.enabled && scmProvider == git && scmResourceGroup == index && !gitFreshRepository"
},
{
"command": "sftp.upload.changedFiles",
"group": "sftp",
"when": "sftp.enabled && scmProvider == git && scmResourceGroup == index && !gitFreshRepository"
}
]
},
"jsonValidation": [
{
"fileMatch": ".vscode/sftp.json",
"url": "./schema/config.schema.json"
}
],
"resourceLabelFormatters": [
{
"scheme": "remote",
"formatting": {
"label": "${path}",
"separator": "/"
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "webpack --mode production",
"dev": "webpack --mode development --watch",
"test": "jest",
"package": "vsce package",
"pub:debug": "rm -rf _debug && mkdir _debug && vsce package --out _debug/sftp-debug.vsix && cd _debug && git init && git commit --allow-empty -m 'update debug package' && git checkout -b debug-pacakge && cp ../INSTALL_DEBUG.md README.md && git add . && git commit -am 'update debug package' && git push git@github.com:liximomo/vscode-sftp.git debug-pacakge --force"
},
"devDependencies": {
"@types/fs-extra": "^5.0.4",
"@types/jest": "^23.3.5",
"@types/lru-cache": "^4.1.1",
"@types/node": "^8.10.25",
"@types/vscode": "1.30",
"@types/webpack-env": "^1.13.6",
"jest": "^20.0.4",
"memfs": "^2.15.5",
"rimraf": "^2.6.2",
"ts-loader": "^5.3.0",
"tslint": "^5.11.0",
"typescript": "3.1.6",
"typescript-tslint-plugin": "^0.0.6",
"webpack": "^4.25.1",
"webpack-cli": "^3.1.2"
},
"dependencies": {
"async": "^2.6.0",
"fs-extra": "^5.0.0",
"ftp": "^0.3.10",
"ignore": "^5.0.2",
"joi": "^10.6.0",
"lodash.debounce": "^4.0.8",
"lru-cache": "^4.1.3",
"p-queue": "2.4.2",
"ssh-config": "^1.1.3",
"ssh2": "^1.1.0",
"tmp": "^0.0.33",
"upath": "^1.0.0"
},
"jest": {
"verbose": true,
"moduleFileExtensions": [
"ts",
"js"
],
"transform": {
"^.+\\.ts$": "<rootDir>/test/preprocessor.js"
},
"testMatch": [
"<rootDir>/test/**/*.spec.js",
"<rootDir>/**/*/__tests__/*.ts"
]
},
"__metadata": {
"id": "ed3575fb-5812-4a43-9efb-c19649137420",
"publisherId": "191ff983-e777-479d-b38d-a496aa4cf49a",
"publisherDisplayName": "liximomo",
"installedTimestamp": 1625380324260
}
}
Just use my version (v1.13.0) that implement the new ssh2 v1.1.0 version that fix every problem 🙂 https://github.com/Natizyskunk/vscode-sftp/releases
Just use my version (v1.13.0) that implement the new ssh2 v1.1.0 version that fix every problem 🙂 https://github.com/Natizyskunk/vscode-sftp/releases
nop, you version don't fix the problem
@adviewmx could you be more precise about the bug you have ? I recommend you to open a new issue on my version and follow the 'bug report' template.
Just use my version (v1.13.0) that implement the new ssh2 v1.1.0 version that fix every problem 🙂 https://github.com/Natizyskunk/vscode-sftp/releases
nop, you version don't fix the problem
In my case SFTP extension conflicts with Remote Explorer. Try to remove path to remote comp from Remote Explorer ssh config.
Hi.. i migrating to use arch and code oss with this extension. used it for a month with no issue, but now the extension not work and show info "You cannot use PASV on IPv6 connections. Use EPSV instead." anyone know what should I setting . Sorry if out of topic, i search online but no solution that i found also I new in linux :D
@adviewmx could you be more precise about the bug you have ? I recommend you to open a new issue on my version and follow the 'bug report' template.
I try to change the version of the extension and it dont fix my error, debug log shows:
So, depending on your error message, e.g. "...ECONNERROR ..failes to connect to 172.29.144.1 blabla something", I just need to remove space from the "name": "example.com XYZ", this took me almost my whole brain. But I did find it out accidentally. Because I had it working on another computer. However, if you write any extension or plugin or something else, please consider providing always a running sample config or detailed explanation. This would save so much damn time. I am spending not only on this issue but many others so much effort to just get things running - and haven't even start with working on the main subject. Hope this helps anybody out there. Hope others will agree to that and you could find a solution. Bye
Issue Type: Bug
sftp is not working anymore with vs code
Extension version: 1.12.9 VS Code version: Code 1.57.0 (b4c1bd0a9b03c749ea011b06c6d2676c8091a70c, 2021-06-09T17:22:31.215Z) OS version: Darwin x64 20.5.0 Restricted Mode: No
System Info
|Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz (4 x 3200)| |GPU Status|2d_canvas: enabledgpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: unavailable_off
opengl: enabled_on
rasterization: unavailable_off
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled| |Load (avg)|2, 2, 1| |Memory (System)|8.00GB (0.58GB free)| |Process Argv|--crash-reporter-id 5bf669a2-c47e-4dc6-9386-8c59b26aa0bd| |Screen Reader|no| |VM|0%|
A/B Experiments
``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspyt653:30270858 pythonvspyt602:30300191 vspor879:30202332 vspor708:30202333 vspor363:30204092 pythonvspyt639:30300192 pythontb:30283811 pythonvspyt551:30311712 vspre833:30321513 pythonptprofiler:30281270 vshan820:30294714 pythondataviewer:30285071 vscus158:30321503 pythonvsuse255cf:30319632 vscorehov:30309549 vscod805:30301674 ```