Downloading using WGET

AlHal2
AlHal2 used Ask the Experts™
on
I would like to download a csv file from this website and save it to C:\temp.  I typed this.

H:\>wget64 --user="aaa" --password="aaa" "https://website.com/files/download?type=144  --auth-no-challenge --content-dispostion -q$ -P C:\temp

I got the response below, but there was no file in C:\temp.

--2016-01-21 12:28:34--  https://website/files/download?type=144
%20%20--auth-no-challenge%20--content-dispostion%20-q$%20-P%20C:%5Ctemp
Resolving website.com (website.com)... IPAddress
Connecting to website.com (website.com)|IPAddress|
:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 189 [text/html]
Saving to: 'download@type=144%20%20--auth-no-challenge%20--content-dispostion%20
-q$%20-P%20C%3A%5Ctemp'

download@type=144%2 100%[===================>]     189  --.-KB/s    in 0s

2016-01-21 12:28:35 (541 KB/s) - 'download@type=144%20%20--auth-no-challenge%20-
-content-dispostion%20-q$%20-P%20C%3A%5Ctemp' saved [189/189]
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Bill PrewTest your restores, not your backups...
Top Expert 2016

Commented:
One thing I notice right off, it looks like you are missing a double quote after 144.

~bp

Author

Commented:
If I add the " after 144 it says:
wget64: unrecognized option '--content-dispostion'
Bill PrewTest your restores, not your backups...
Top Expert 2016

Commented:
You have a typo, "--content-dispostion" should be "--content-disposition".

~bp
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
I get invalid option --  '$'
Test your restores, not your backups...
Top Expert 2016
Commented:
Not sure where you got that command line from, but there is no -q$ option, only a -q, is that what you wanted, it reduces output from the transfer.

~bp

Author

Commented:
Thanks.
It's not accepting my authentication, but I don't think that's a problem with the syntax.
I removed the -q to see this.
Bill PrewTest your restores, not your backups...
Top Expert 2016

Commented:
Yes, in case it helps, I was able to download from a local secure page using your basic syntax once we fixed the errors we have discussed here.  Good luck!

~bp

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial