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

Explore Globus functionality with HTTP #200

Open
forsyth2 opened this issue Mar 4, 2022 · 3 comments
Open

Explore Globus functionality with HTTP #200

forsyth2 opened this issue Mar 4, 2022 · 3 comments
Assignees
Labels
Globus Globus semver: new feature New feature (will increment minor version)

Comments

@forsyth2
Copy link
Collaborator

forsyth2 commented Mar 4, 2022

See if our Globus extract feature can handle (or be made to handle) extracting data from a website rather than a directory on another machine.

@forsyth2 forsyth2 added semver: new feature New feature (will increment minor version) Globus Globus labels Mar 4, 2022
@forsyth2 forsyth2 self-assigned this Mar 4, 2022
@golaz
Copy link
Collaborator

golaz commented Mar 16, 2022

According to the Globus FAQ, Globus does not support transfer over http:

https://docs.globus.org/faq/transfer-sharing/#whats_the_difference_between_globus_and_gridftp

@lukaszlacinski: can you confirm?

If that is the case, we should consider adding another backend method to zstash to enable other protocols, such as http, ftp. We could do read-only initially. Maybe Python urllib or requests. See https://stackoverflow.com/questions/2018026/what-are-the-differences-between-the-urllib-urllib2-urllib3-and-requests-modul

@xylar: do you have any recommendation for a Python library to download files using http/ftp?

@xylar
Copy link
Contributor

xylar commented Mar 16, 2022

I definitely prefer requests. https://docs.python-requests.org/en/latest/

@xylar
Copy link
Contributor

xylar commented Mar 16, 2022

Here's some example usage in your compass package:
https://github.com/MPAS-Dev/compass/blob/e8f02e72d56da31957fae2ec5cdb2643d7a53bc5/compass/io.py#L8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Globus Globus semver: new feature New feature (will increment minor version)
Projects
None yet
Development

No branches or pull requests

3 participants