Re: ftplib retrlines timeout

2009-12-16 Thread Brendan
On Dec 15, 6:17 pm, Jennifer owenzhang.chic...@gmail.com wrote: I am writing a program that has a requirement for  a timeout of retrlines after the connection established. I just wonder if timeout of ftplib.FTP('.xxx.com',username,password,timeout) will work for retrlines method after the

Re: ftplib retrlines timeout

2009-12-16 Thread BJ Swope
I've had experiences with some python mail servers that time out connections if data from the socket is not sent to the application within the timeout parameter. I have seen a python app on FreeBSD that would timeout a connection after 600 seconds if freebsd did not receive at least 32 kb of data

Re: ftplib retrlines timeout

2009-12-16 Thread Jennifer
So you mean ftplib.FTP('.xxx.com',username,password,timeout) will timeout the retrlines as well, correct? Thanks. -- http://mail.python.org/mailman/listinfo/python-list

Re: ftplib retrlines timeout

2009-12-16 Thread BJ Swope
If it works like I've seen other python based network apps that have app timeouts, and Brandon's post seemed to indicate that his timed out during the readline portion of the FTP transfer. Auburn fans are like slinkys... not really good for anything but they still bring a smile to your face

ftplib retrlines timeout

2009-12-15 Thread Jennifer
I am writing a program that has a requirement for a timeout of retrlines after the connection established. I just wonder if timeout of ftplib.FTP('.xxx.com',username,password,timeout) will work for retrlines method after the connection established. Or socket.setdefaulttimeout will work in