You are not logged in.

#1 2006-02-24 20:01:52

drakosha
Member
Registered: 2006-01-03
Posts: 253
Website

python, ftplib - how to set connection timeout?

I'm writing a code to d/l certain file from several servers, i.e. iteration on the servers, login and d/l from each one.
The problem is some servers can be down or some other error can happen. The question is how can i set timeout for an ftp operation? Currently i'm using ftplib, but it's not a must

Thanks!

Offline

Board footer

Powered by FluxBB