-
Notifications
You must be signed in to change notification settings - Fork 23
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
Feature request: globus cat or get/put #538
Comments
Another non-globus way to handle this use case: reverse/remote port forwarding. Basically run an ssh server on laptop, optionally generate a key on the remote server and trust it on the local laptop ssh server, and add something like |
I think there is, but we won't get to start work on it until after we ship v3.0. If you look right now, Here's the basic situation and plan: For version 3.0, globus-cli needs to add support direct operations against GCS v5. That means being able to get a token for There is a different consent required for HTTPS downloads. (I don't know what it is yet. I'll need to either ask the GCS guys or look at what the webapp does.) It should be possible to add some new command ( For v3.0, For download, it would look something like
All roads lead to globus-url-copy 😉 |
Another idea related to this use case, is have some to recognize when globus-cli is run on one of the endpoints and simplify the commands for that case, e.g. allow relative paths and omitting epid and it will automatically fill the epid with the current endpoint and make the path aboslute. I think I can do this pretty easily with a bash wrapper script, but might be interesting as a integrated feature if a significant number of users have similar use case. |
I don't know how many people want this feature. IIRC, one person expressed some interest in it years ago, but I couldn't devote any time to it then and haven't circled back.
For the simple reason that we're (as always) trying to do a lot at the moment with limited resources, I give this approach a big 👍 . But I want to make sure we have the tools in place to make this as easy as we can. To make sure you're aware, we already have a command for getting local endpoint IDs, but it's GCP only:
So it ought to be possible to emulate scp with something like
Do you need Regarding the topic of the original comment here, we now have a much better arrangement for storing tokens (We've been living with the same old |
Use case: I want to copy a small text file from an LCF to/from my laptop. I would normally use scp for this use case, but certain LCFs don't support control master and having to enter my PIN and OTP every. single. time. is maddening.
I wonder if there is a clever way to do this for globus endpoints running the HTTP server, without requiring gcp, for the cat/get case.
Another possibility, is to require running gcp on the laptop, and do some clever scripting around this to make it more seemless. Could involve staging through a directory that is shared with globus. Perhaps inside the cli is not the place for this, it could be done with wrapper script that handles my particular paths and gcp config. Just thought I would start a discussion because this seems like such a common use case that globus could help streamline. Of course doing this through the Web GUI is not so bad... I just miss my simple command line scp a lot.
The text was updated successfully, but these errors were encountered: