I can't figure out how to pick between ftplib
and urllib2
for downloading a file over FTP. As far as I can tell, they work comparably well, and most recommendations just seem to presume one or the other without listing pros/cons. Furthermore, there are other libraries to try, too.
How should I pick in general? It's not just a matter of finding something that works, I've done that already two different ways. I'm wondering what the Right choice is. My basic thought is to use ftplib
since it is after all an ftp server...
In my specific case, I'm dealing with very large files (several gb) on public servers. I'd like to get a progress bar of some sort. Since the files are so large, it would be nice to have a resume capability... but those are optional -- just to be nice to people who will use my code. I don't want to use a library that is already marked for deprecation.