[ftputil] dealing with server timeout + GMANE

Terrence Brannon metaperl.etc at gmail.com
Wed Dec 6 17:22:57 CET 2006


On 12/6/06, Terrence Brannon <metaperl.etc at gmail.com> wrote:
>
> There was a trick in your code I had never seen before. The comma was
> necessary to create a sequence here:
>
>   >>> t = threading.Thread(target=poll, args=(host,))
>
> Anyway, the program seems to head once I initiate the thread. I


the word "head" in the above sentence should be "lock up"... I dont know
what  I ws thinking. But anyway, the thread creation seems to look up the
program, not execute in a separate thread.

also, my attempt to do a chdir() in the main thread before each file
download did not work. I think because single file is taking so long.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/ftputil/attachments/20061206/fc6945c3/attachment.htm 


More information about the ftputil mailing list