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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.