ftp thread problem

0 votes
asked Jul 28, 2011 by fyt (220 points)
edited Jul 29, 2011

Hi,

I'm using the component Rebex.Net.Ftp. It seems that when I open a connection to a ftp (with the Connect then Login methods), the application create a thread that is never aborted.

Then for some obscure reasons, after some use of the connection, this thread use 100% of the processor and i can't do any connection to the ftp. If i kill this thread manually, it will work again.

Have you got an idea ?

Thanks

Applies to: Rebex FTP/SSL

1 Answer

0 votes
answered Jul 29, 2011 by fyt (220 points)

Some background threads might be created during various Ftp object methods that are then suspended and later re-used, but no thread should use 100% of the processor, of course - that looks like some kind of infinite loop. However, we are not currently aware of such issue in Rebex FTP. Would it be possible to post some code that can be used to reproduce this? Alternatively, please post at least a communication log (created using Ftp's LogWriter property, as described at http://www.rebex.net/kb/logging.aspx) - either mail it to support@rebex.net or edit your question to include it.

...