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

upload to working directory #2760

Open
s-u opened this issue Oct 18, 2021 · 1 comment
Open

upload to working directory #2760

s-u opened this issue Oct 18, 2021 · 1 comment
Assignees

Comments

@s-u
Copy link
Collaborator

s-u commented Oct 18, 2021

It would be nice to allow uploads to the current directory. Currently, all (non-notebook) uploads go to the designated user's directory, but when working on projects it is often desirable to upload directly into the project directory which is typically the working directory. It would be nice to add that to the choices.

Practical considerations: the "current directory" is not well defined with respect to the various cell types, but using the compute's working directory is a good start. Once we implement #2757 that would be then the natural place.

(Semi-related idea: allow the notebook to define a true project directory - which would be the initial working directory for all languages regardless. This is in most commonly used concept in practice.)

@s-u s-u self-assigned this Oct 18, 2021
@gordonwoodhull
Copy link
Contributor

gordonwoodhull commented Oct 18, 2021

It’s a good idea.

One possible complication: the upload ocaps are on the control process:

https://github.com/att/rcloud/blob/develop/rcloud.support/R/ocaps.R#L255-L260

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants