|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Micorsoft Inet FTP Control
I have been playing with the Inet control for uploading/downloading multiple files from a ftp server.
I can get this all to work ok. After each command you must wait for a complete reqponse before you continue. No problems with this at all. The problem is when the connection Errors out ie Connection to internet not on or trying to connect to wrong ip address. You get a error message which is ok But when you exit from the vb6 code the program totaly frezes /Locks up for around 30 seconds before it exits.!!!!!!!! I have tried to set inet1.reuesttimeout=0 on the form_unload event but you still get this lockup. I have seen this on some other vb6 inet ftp programs. Nick |
|
#2
|
|||
|
|||
|
I think the lock problem is cause by the ftp server,just not the ftp client(your program)..The Ftp server will hold the tcp connetion for waiting the timeout When the connection error happened on ftp client..
|
|
#3
|
|||
|
|||
|
this even happens if i make my vb program try to connect by inet ftp to a ip address on my local network which does not exist.
When the program exits it locks for 30 or so seconds then closes normaly. Nick |
|
#4
|
|||
|
|||
|
Yes,The same instance happened when the tcp server is down or halt.And the client will retransfer the connection signal to the server until the tcp connection is beyond the connection timeout..
|
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > Micorsoft Inet FTP Control |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|