using urllib with ftp?

John Salerno johnjsal at NOSPAMgmail.com
Fri May 5 13:26:15 EDT 2006


Fredrik Lundh wrote:
> John Salerno wrote:
> 
>> Thanks. So the ftp:// is something different than actually using ftplib
>> to connect to an FTP server, right? I've used both urllib and ftplib, so
>> I know what they do, I just was a little unclear about whether they can
>> sometimes do each other's work as well.
> 
> urllib uses ftplib under the hood, but all you can do is to fetch files or directory
> listings.

Thanks! That makes perfect sense now that I know that.



More information about the Python-list mailing list