0

Hi All,

I was wondering if any one of you observed the time taken to download or upload a file over ftp using python "ftplib" is very large as compared to performing FTP get/put over windows command prompt or using perl's "Net::FTP" module.

I created a simple FTP client similar to http://code.activestate.com/recipes/521925-python-ftp-client/ but i am unable to get the speeds which i get when running FTP over windows DOS prompt or using perl. Is there something I am missing or is it a problem with the python ftplib module.

I would really appreciate if you could throw some light as to why I am getting low throughput with python.

Thanks & Regards

Edited by dilbert_here00

1
Contributor
1
Reply
16
Views
3 Years
Discussion Span
Last Post by dilbert_here00
0

got it to work by increasing the block size to 250Kb. Now the speeds are similar on both DOS as well as python.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.