vscode-remote-release
vscode-remote-release copied to clipboard
Cannot copy files from remote SSH workspace to local workspace
- VSCode Version: 1.41.0-insider (commit: 9579eda04fdb3a9bba2750f15193e5fafe16b959)
- OS Version: macOS 10.15.1 Catalina
Steps to Reproduce:
- Open a remote SSH workspace
- Open a local workspace (in a new window)
- Select a file on the local workspace and "copy" it (either with contextual menu, or
ctrl+C
) - Paste the file on the remote workspace (either with contextual menu, or
ctrl+V
) - Result: The file is copied correctly
-
Now the reverse: Select a file on the remote workspace and "copy" it (either with contextual menu, or
ctrl+C
) - Paste the file on the local workspace (either with contextual menu, or
ctrl+V
) -
Result: The file is not copied, and an error message is shown:
The file to paste has been deleted or moved since you copied it. No file system provider found for vscode-remote://ssh-remote...
- Also, pasting the remote file into
Finder
yields an empty (zero byte) file (with the correct name)
Does this issue occur when all extensions are disabled?: Yes
The identical problem in my case.
Same issue with dockers
The identical problem in my case.
The identical problem in my case.
Same issue here.
Also cannot copy between multiple remote workspaces.
Using remote containers:
The file(s) to paste have been deleted or moved since you copied them. Unable to resolve non-existing file 'vscode-remote://attached-container+7b22636f6e7461696e65724e616d65223a222f616d2d6e6578745f6261636b656e645f31227d/files/test.ts'
Note that there is a way to get copy and paste working between remote containers. If you mount the same files on multiple containers (mount both containers files to /files/ for example) and use use different vscode workspaces for each container (eg /files/frontend for one and /files/backend for the other) you can copy/paste no problem.
Example docker-compose file:
backend: build: ./containers/backend volumes: - ./source_folder_with_both_repos/:/files
frontend: build: ./containers/frontend ports: - 8080:80 volumes: - ./source_folder_with_both_repos/:/files
Same issue here.
I've got the same issue - would be so nice to have this working when debugging issues of a project on a remote server which uses external files are sources - my current workaround: select the files to copy, click download
- download them manually to the right location
I've got the same issue - would be so nice to have this working when debugging issues of a project on a remote server which uses external files are sources - my current workaround: select the files to copy, click
download
- download them manually to the right location
but we can't see right progress in status bar with current/total and disconnection from remote folder appears always until I'm trying to download a file with large size (~130Mb)
same
same issue
same issue
same
same
I also have the same problem can anyone confirm that the server that they're trying to connect to has IPv6? Also, is everyone using a key or a password to login?
I found this useful:- Select the files you need to copy > right-click "Download"
Found the solution here:- https://github.com/microsoft/vscode-docs/blob/master/remote-release-notes/v1_36.md#drag-and-drop-to-and-from-the-explorer
This was working for me (copy from ssh session to local, and copy from wsl to local) but suddenly it stopped working. Is this a bug or a configuration issue?
Is there a short way like 'right-click "Download"' to upload( or copy) file from local to remote server(ssh or wsl)?
Is there a short way like 'right-click "Download"' to upload( or copy) file from local to remote server(ssh or wsl)?
You should be able to drag a file from the OS file-manager into vscode's file-tree window to upload it (or to the editor pane to open it in-place).
@avivey Thank you 😄
You can drag a single file from the remote VS Code File Explorer to your local machine. Due to an upstream limitation, we cannot support this on Linux or for multiple files.
This doesn't seem to work on Windows either (anymore).
would be great if there would be a workaround. I am using an sftp client for now.
I tried both dragging to a local VSC window and copying/pasting. Neither worked.
Use cases (I'm presuming codespaces and SSH have similar mechanisms?):
- container to host
- host to container
- container to container
- codespace to codespace
- codespace to container
- container to codespace
- codespace to host
- host to codespace
Both file and directory
Same here:
vscode remote ssh paste file support from explorer.exe ?
would still like this!
There is a download button in the menu
Hoping that it will be available some day.
+1 for this feature to be available