Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python's FTPLib too slow?

I have been playing around with Python's FTP library and am starting to think that it is too slow as compared to using a script file in DOS? I run sessions where I download thousands of data files (I think I have over 8 million right now). My observation is that the download process seems to take five to ten times as long in Python than it does as compared to using the ftp commands in the DOS shell.

Since I don't want anyone to fix my code I have not included any. I am more interested in understanding if my observation is valid or if I need to tinker more with the arguments.

like image 858
PyNEwbie Avatar asked Nov 29 '22 20:11

PyNEwbie


1 Answers

The speed problem is probably in your code. FTPlib is not 10 times slower.

like image 85
nosklo Avatar answered Dec 06 '22 09:12

nosklo