I'm trying to download and save the text file http://www.gutenberg.org/cache/epub/164/pg164.txt using Powershell. I tried using the code:
$curl http://www.gutenberg.org/cache/epub/164/pg164.txt -OutFile verne.txt
But instead of saving the text file it saved the text file for the page source of http://www.gutenberg.org/ebooks/164?msg=welcome_stranger. I'm wondering if there's something wrong with my code or if I need to use another code.