LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   curl (7) couldn't connect to host (https://www.linuxquestions.org/questions/linux-newbie-8/curl-7-couldnt-connect-to-host-4175497672/)

RoaldT 03-10-2014 07:48 AM

curl (7) couldn't connect to host
 
Hi

I'm trying to import some data from UniprotDatabase with this command:

curl 'ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/complete/uniprot_sprot.xml.gz' -o uniprot_sprot.xml.gz

But when I execute it, an 'curl (7) couldn't connect to host' error occur. Can someone help me to deal with this?

Thanks and regards,
Roald Targé

Guttorm 03-10-2014 08:45 AM

Hi

The command works here. I got a huge XML file downloaded. Maybe ftp.uniprot.org was down when you tried? Or maybe it's a firewall blocking FTP?

TenTenths 03-10-2014 09:04 AM

Working fine on my two Linux boxes (one in US, one in France)

Very likely to be a firewall issue your end.

RoaldT 03-11-2014 03:59 AM

Hi

Thanks for your answers, it's working fine now. I was trying it on the network of the university. But i my own network, it's working fine.

Best regards


All times are GMT -5. The time now is 12:58 PM.