LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-17-2014, 02:47 PM   #1
apirani
LQ Newbie
 
Registered: Feb 2014
Posts: 1

Rep: Reputation: Disabled
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.
 
Old 02-17-2014, 02:57 PM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 2,974
Blog Entries: 1

Rep: Reputation: 620Reputation: 620Reputation: 620Reputation: 620Reputation: 620Reputation: 620
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.
 
Old 02-17-2014, 03:23 PM   #3
fuorviato
Member
 
Registered: Dec 2013
Location: Poland
Distribution: Sabayon/Gentoo 64bit
Posts: 215

Rep: Reputation: 14
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.
 
1 members found this post helpful.
Old 02-17-2014, 11:35 PM   #4
ravi_nandula
Member
 
Registered: Sep 2011
Posts: 81

Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple fallback URLs for single file wget/curl/other ? TheLexx Linux - Software 1 02-01-2014 06:13 AM
[SOLVED] preserving file contents while using wget or curl amboxer21 Programming 7 10-20-2012 02:53 AM
Download images from text file using curl Sam71 Programming 4 04-19-2011 04:59 AM
Using wget or curl command to download from dynamic urls pratap.iisc Linux - Desktop 2 07-26-2009 10:55 PM
Pros and cons of CLI download tools [wget and curl] Conjurer Linux - Software 1 12-01-2005 02:45 PM


All times are GMT -5. The time now is 10:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration