LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cant Download the file using wget or curl (https://www.linuxquestions.org/questions/linux-newbie-8/cant-download-the-file-using-wget-or-curl-4175495268/)

apirani 02-17-2014 02:47 PM

Cant Download the file using wget or curl
 
Hi,

I am trying to download file using wget and curl from the below URL. Since its not the actual file without any extension and is not even located on ftp server, i am finding it difficult to use correct option.
Also i have tried various options with wget and curl like -O;-A;-I etc but still it only downloads the html file.

http://pubmlst.org/perl/bigsdb/bigsd...&isolate_id=99

Any help would be appreciated.

Shadow_7 02-17-2014 02:57 PM

Check the contents of the html that downloaded for the actual file link. Or start the download in browser and examine the properties to see the link.

fuorviato 02-17-2014 03:23 PM

I can see this is a password-protected website.
Did you try running wget with this parameter?

-
Quote:

-user=user
--password=password
Specify the username user and password password for both FTP and HTTP file retrieval.
These parameters can be overridden using the --ftp-user and --ftp-password options for
FTP connections and the --http-user and --http-password options for HTTP connections.

ravi_nandula 02-17-2014 11:35 PM

Does server request through proxy....if your system is part of any organisation request goes via proxy. Try to set proxy environmental variable and give a try.

-Thanks


All times are GMT -5. The time now is 09:26 PM.