curl-and-python
Re: Pycurl and FTP
Date: Fri, 11 Jun 2010 13:27:53 -0400
Um. Can you get to that site through a browser? That site should be
accessible anywhere, but maybe there's some network quirk preventing you
from seeing it. You could try the FTP site that you're interested in,
instead, and see if that works.
If you can see the site otherwise, then maybe there is some problem with
pycurl on your computer--but I don't have the foggiest what that might be,
sorry.
On Fri, Jun 11, 2010 at 1:01 PM, MARTIN Oliver <o.martin_at_wanadoo.fr> wrote:
> Hi,
>
> Thanks for your answers.
>
> When I try your code, I have no answer from python:
>
>
> >>> import pycurl
> >>> crl = pycurl.Curl()
> >>> crl.setopt(pycurl.URL, r'ftp://ftp.ncbi.nih.gov/refseq/release/')
> >>> crl.perform()
> >>>
>
> I don't understand why.
>
> I had tried this code before, and as I had no answer, I've posted here.
>
> If anyone can help me ...
>
>
> Olivier.
>
>
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
>
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2010-06-11