Re: Multi-threaded FTP Question

2006-07-12 Thread Jeremy Jones
Dennis Lee Bieber wrote: On 11 Jul 2006 06:45:42 -0700, [EMAIL PROTECTED] declaimed the following in comp.lang.python: Could it be that the SERVER is limiting things to 5 concurrent/parallel connections from any single IP? I know I've encountered sites that only allowed two FTP

Re: Multi-threaded FTP Question

2006-07-12 Thread olsongt
[EMAIL PROTECTED] wrote: I'm trying to use ftp in python in a multi-threaded way on a windows box - python version 2.4.3. Problem is that it appears that it's only possible to have five instances/threads at one point in time. Errors look like: File C:\Python24\lib\ftplib.py, line 107,

Re: Multi-threaded FTP Question

2006-07-12 Thread dbandler
Thanks so much for your help on this. The server that I'm connecting to is the culprit. They only allow five connections at a time. I assumed that it was a code issue. I think that we're conditioned to expect that the problem is on the software side of things. -Derek [EMAIL PROTECTED]

Multi-threaded FTP Question

2006-07-11 Thread dbandler
I'm trying to use ftp in python in a multi-threaded way on a windows box - python version 2.4.3. Problem is that it appears that it's only possible to have five instances/threads at one point in time. Errors look like: File C:\Python24\lib\ftplib.py, line 107, in __init__

Re: Multi-threaded FTP Question

2006-07-11 Thread Jeremy Jones
On 11 Jul 2006 06:45:42 -0700, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm trying to use ftp in python in a multi-threaded way on a windowsbox - python version 2.4.3.Problem is that it appears that it's onlypossible to have five instances/threads at one point in time.Errorslook like: File

Re: Multi-threaded FTP Question

2006-07-11 Thread Jeremy Jones
[EMAIL PROTECTED] wrote: I'm trying to use ftp in python in a multi-threaded way on a windows box - python version 2.4.3. Problem is that it appears that it's only possible to have five instances/threads at one point in time. Errors look like: File C:\Python24\lib\ftplib.py, line 107,

Re: Multi-threaded FTP Question

2006-07-11 Thread dbandler
There are n instances of ftplib.FTP. Funny thing is that I tried to run the code twice, concurrently, in two separate IDLE instances. Each instance had four threads/ftp calls. Again, only five ftp connections were allowed on my computer. The code errored out on the sixth attempt. I wonder if