rcloud icon indicating copy to clipboard operation
rcloud copied to clipboard

upload to working directory

Open s-u opened this issue 4 years ago • 1 comments

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 avatar Oct 18 '21 05:10 s-u

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

gordonwoodhull avatar Oct 18 '21 11:10 gordonwoodhull