The Wayback Machine - https://web.archive.org/web/20190322180527/https://github.com/codercom/code-server/issues/31
Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more
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

Add file and directory upload feature #31

Closed
xuanyuanaosheng opened this Issue Mar 6, 2019 · 7 comments

Comments

Projects
None yet
6 participants
@xuanyuanaosheng
Copy link

xuanyuanaosheng commented Mar 6, 2019

No description provided.

@nhooyr

This comment has been minimized.

Copy link
Collaborator

nhooyr commented Mar 6, 2019

You can use scp to do this easily. We can definitely add a UI for scp though.

@xuanyuanaosheng

This comment has been minimized.

Copy link
Author

xuanyuanaosheng commented Mar 7, 2019

You can use scp to do this easily. We can definitely add a UI for scp though.

Well。 Use scp command is not a good way for windows. The UI scp is a good way. The other way is to use plugin solve this. Please think about this:

https://github.com/liximomo/vscode-sftp

https://marketplace.visualstudio.com/items?itemName=Kelvin.vscode-sshfs

https://marketplace.visualstudio.com/items?itemName=mkloubert.vscode-remote-workspace

@PhilsLab

This comment has been minimized.

Copy link
Contributor

PhilsLab commented Mar 8, 2019

Nextcloud has a nice way of handling this. You can just drag&drop the folder in place, and it uploads accordingly. A seperate "upload file here" button would also be nice.

Not sure if this is the right issue to address this, but i'd also like to see a download button for individual files, as well as folders/the project as zip.

@kylecarbs

This comment has been minimized.

Copy link
Member

kylecarbs commented Mar 8, 2019

I believe we have this 🤔

cc: @coderasher

@code-asher

This comment has been minimized.

Copy link
Collaborator

code-asher commented Mar 8, 2019

We do support drag and drop for uploading both files and directories.

You can drag into the main area of the editor (which will upload to the workspace root) or into the file tree (which will upload into whatever directory you dropped it on).

I think adding a button (and command) for uploading would be a good move, especially to make it more accessible from the keyboard.

We don't support downloading directories and files through the UI yet, but we want to eventually.

@jgbradley1

This comment has been minimized.

Copy link

jgbradley1 commented Mar 12, 2019

The Theia project recently implemented this exact same issue in case you want to check out their implementation.

@kylecarbs

This comment has been minimized.

Copy link
Member

kylecarbs commented Mar 17, 2019

Closing in favor of #233

@kylecarbs kylecarbs closed this Mar 17, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.