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

Allow 1 remote_path to result in multiple fetched files #82

Open
oxinabox opened this issue Nov 22, 2018 · 0 comments
Open

Allow 1 remote_path to result in multiple fetched files #82

oxinabox opened this issue Nov 22, 2018 · 0 comments

Comments

@oxinabox
Copy link
Owner

oxinabox commented Nov 22, 2018

The default fetch_method is for the HTTP protocol,
which one where 1 path aways leads to 1 file.

But for other mechanism allowing 1 path to result in many files seems reasonable.
Which would be indicated by the fetch_method returning a Vector of local path names.

I think this makes sense for many protocols.

It would clean up the Google Drive problem (https://github.com/oxinabox/PyDrive.jl/blob/master/src/proto.ipynb)
where to download a folder you need to query the folders contents during register,
rather than during fetch
(cc @yakir12)

I think it would also make sense,
in that it would let you download a whole S3 bucket,
or recurrively fetch over FTP to get a directory.

This might actually already work.
I've not tested it.
If it does work, it is an emergant feature.

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

No branches or pull requests

1 participant