DirDetails uses a new socket/port every time it is called, as it is a data transfer. This is how the FTP protocol works.
Unfortunately, if you call it too many times in succession (or do too many downloads or uploads), you will run out of sockets on your client machine as you have done below.
There is no limitations on the free version - you simply cannot transfer that rapidly.
Then I get an exception "Unable to read data from the transport connection.". After that, I can no longer write to the transport either. Seems to die at about 50 uploads into the session; give or take a handful. I'm using the free version. Is there a limitation on the free version?
Any ideas what i should look at?
tks