Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow file downloads #1386

Closed
kylecarbs opened this issue Mar 3, 2020 · 12 comments
Closed

Allow file downloads #1386

kylecarbs opened this issue Mar 3, 2020 · 12 comments
Labels
enhancement Some improvement that isn't a feature upstream Needs to be fixed upstream
Milestone

Comments

@kylecarbs
Copy link
Member

Should be able to drag-and-drop from the file browser to my local machine.

@kylecarbs kylecarbs added the enhancement Some improvement that isn't a feature label Mar 3, 2020
@rubysown
Copy link

rubysown commented Mar 9, 2020

Having an option to disable this downloading feature would be nice as well when it is added - I know for example the industry I'm in (financial data) wouldn't want this allowed.

@nhooyr
Copy link
Contributor

nhooyr commented Mar 9, 2020

@rubysown couldn't someone just copy and paste the file?

@rubysown
Copy link

rubysown commented Mar 9, 2020

@nhooyr Yes. That might be easy for small files but not large ones. It's just a suggestion from a real-world scenario I've had to deal with, that's all.

Edit - just some extra information: we launch code-server on behalf of our employees in an environment where they have data loaded and other scripts and such. We don't allow external access, so really anything we can do to strengthen the protection helps a lot. Of course, this would never stop anyone determined but anything helps I guess.

@woshiniming007
Copy link

woshiniming007 commented Mar 26, 2020

need this feature

@kylecarbs
Copy link
Member Author

microsoft/vscode#93599 is tackling this.

@kylecarbs kylecarbs added the blocked This issue cannot proceed due to external factors label Apr 14, 2020
@nhooyr nhooyr added the upstream Needs to be fixed upstream label Apr 17, 2020
@nhooyr
Copy link
Contributor

nhooyr commented Aug 31, 2020

Also somewhat related is #1292

@blaylockbk
Copy link

In another similar server app, JupyterLab (https://jupyter.org/), you can drag and drop a file from local to the remote directory, but you can't drag a file from the remote to local (just like in code-server). However, JupyterLab does have an option to download a file from the right-click context menu. Not sure how they do that, but it would be nice if this was in vscode.
image

@sr229
Copy link
Contributor

sr229 commented Oct 7, 2020

This seems to be in the works for the upstream side IIRC, might be worth a look.

@woshiniming007
Copy link

@nhooyr It seems the VSCode 1.51 version has added the function:

https://code.visualstudio.com/updates/v1_51#_download-folders-edge-chrome

@code-asher code-asher added this to the v3.7.2 milestone Nov 19, 2020
@code-asher
Copy link
Member

1.51.1 has been merged and this'll be released with 3.7.2.

@code-asher code-asher removed the blocked This issue cannot proceed due to external factors label Nov 19, 2020
@lsc196
Copy link

lsc196 commented Dec 8, 2020

Having an option to disable this downloading feature would be nice as well when it is added . I know for example the industry I'm in (IT) wouldn't want this allowed. Improve code security

@code-asher
Copy link
Member

@lsc196 I opened #2426 to address this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Some improvement that isn't a feature upstream Needs to be fixed upstream
Projects
None yet
Development

No branches or pull requests

8 participants