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

FTP URLS not resolving correctly #6

Open
gothub opened this issue May 20, 2020 · 0 comments
Open

FTP URLS not resolving correctly #6

gothub opened this issue May 20, 2020 · 0 comments
Assignees

Comments

@gothub
Copy link
Contributor

gothub commented May 20, 2020

The function isResolvable() does not resolve FTP URLs, as the urllib2.urlopen() library function that is called does open the url but returns a status of "None".

The long term solution is to refactor metadig engine so that it can use python 3 (NCEAS/metadig-engine#211).

The short term solution is to parse the url, detect that it is an FTP URL and use the urllib2 FTPHandler or another library that handles FTP URLs properly.

@gothub gothub self-assigned this May 20, 2020
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