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

Add full URL support for the --source_file and --schema_file options #72

Open
salsferrazza opened this issue Dec 6, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@salsferrazza
Copy link
Collaborator

The --source_file and --schema_file options currently imply file:// if using fully qualified URL syntax. Other protocols, such as http://, ftp:// and ws:// should be possible to resolve in this way, although ws:// would only be applicable as a protocol under --source_file and not --schema_file and would need to be implemented in a manner similar to the recent stdin support addition.

Example:

txcode --schema_file https://raw.githubusercontent.com/SunGard-Labs/fix2json/master/dict/FIX50SP2.CME.xml --source_file ftp://ftp.cmegroup.com/SBEFix/Production/TradingSessionList.dat --factory fix --source_file_format_type line_delimited
@salsferrazza salsferrazza added enhancement New feature or request good first issue Good for newcomers labels Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant