Video Coming Soon...
56: curl or wget
WARNING: This is from the Go course but I'm rewriting the code and the description to fit C. If you want to attempt it go ahead. The challenge is the same, just no examples yet.
I give you a choice here since both tools are really good for accessing network resources from the command line. I chose to implement curl but you could stay in the "GNU family" and implement wget instead. Both will teach the same concepts, and you could even implement both to see if there's differences.
The Challenge
You know the drill, choose the tool you want to implement and make it in Go. When I implemented curl I implemented these options:
-O-- save the file to disk.-I-- inspect the headers
You should implement these too, but if you do wget then you're free to implement whatever you like.
Here's the documentation for both:
Register for From Impostor to Programmer
Register today for the course and get the all currently available videos and lessons, plus all future modules for no extra charge.