Re: How tocheck whether a Connection has been made (General questions)
the application created a number of SFTP() although I'm checking whether it's null.
if(sftp == null)
sftp = new SFTP(); //this is executed as many as the number of files, Why??!!
if(sftp.State != SFTP.Stated.Idle || sftp.State =! SFTP.States.Connecting)
sftp.Connect() //still execute this as many as the number of files!!!
is it because the sftp created has a unique number associated with it. if so, how can i prevent the system from being hanged due to the high number of connections made to the server?!!
Complete thread:
- How tocheck whether a Connection has been made?! - Kamal, 2005-01-10, 17:15
- Re: How tocheck whether a Connection has been made - wodSupport, 2005-01-10, 20:06
- Re: How tocheck whether a Connection has been made - Kamal, 2005-01-11, 12:21
- Re: How tocheck whether a Connection has been made - wodSupport, 2005-01-11, 13:15
- Re: How tocheck whether a Connection has been made - Kamal, 2005-01-11, 18:17
- Re: How tocheck whether a Connection has been made - wodSupport, 2005-01-11, 18:19
- Re: How tocheck whether a Connection has been made - Kamal, 2005-01-12, 11:12
- Re: How tocheck whether a Connection has been made - wodSupport, 2005-01-12, 11:53
- Re: How tocheck whether a Connection has been made - Kamal, 2005-01-12, 13:35
- Re: How tocheck whether a Connection has been made - wodSupport, 2005-01-12, 20:18
- Re: How tocheck whether a Connection has been made - Kamal, 2005-01-12, 13:35
- Re: How tocheck whether a Connection has been made - wodSupport, 2005-01-12, 11:53
- Re: How tocheck whether a Connection has been made - Kamal, 2005-01-12, 11:12
- Re: How tocheck whether a Connection has been made - wodSupport, 2005-01-11, 18:19
- Re: How tocheck whether a Connection has been made - Kamal, 2005-01-11, 18:17
- Re: How tocheck whether a Connection has been made - Dmitry Drozdov, 2014-03-21, 21:27
- Re: How tocheck whether a Connection has been made - wodSupport, 2005-01-11, 13:15
- Re: How tocheck whether a Connection has been made - Kamal, 2005-01-11, 12:21
- Re: How tocheck whether a Connection has been made - wodSupport, 2005-01-10, 20:06