Hi
There is a package for High-level file download based on URLs called "download", but failed to build on windows, If you don't know it, you can refer to hackage first. I compiled in C, but did not get useful massage, anyone can help me a little to fix that.
cabal install download
get a bad header file