Re: Timeout question (General questions)
Roman,
The Timeout property is used by the component to determine how long idle time it should wait before disconnecting from the server. The idle time is time when there are no transfers active, and the state is 4 ( Connected to server - idle. ). If that time reaches the time set in Timeout Property, the component will disconnect.
As for the other question, you are correct. The component will abort the Connect method if it reaches the timeout period without making a successfull connect.
The timeout property doesn't interact with other operations like Listing directories, uploading, downloading etc. In that case, the component isn't idle.
As for your last question, you can't. The component will always automatically disconnect from the server if Timeout period is reached. You can, ofcourse, set Timeout property to 0 to completely prevent component from disconnecting automatically. You can also change Timeout during a *live* connection.
Hope I helped.
Regards,
Damba
Complete thread:
- Timeout question - r0m1k, 2008-02-14, 10:10
- Re: Timeout question - wodDamir, 2008-02-14, 10:24
- Re: Timeout question - r0m1k, 2008-02-14, 10:42
- Re: Timeout question - wodDamir, 2008-02-14, 10:48
- Re: Timeout question - r0m1k, 2008-02-14, 10:42
- Re: Timeout question - wodDamir, 2008-02-14, 10:24