FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old January 7th, 2004, 04:19 AM
nickcol nickcol is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: uk
Posts: 62 nickcol User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 h 17 m 15 sec
Reputation Power: 5
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

Reply With Quote
  #2  
Old January 7th, 2004, 07:30 AM
cleverpig cleverpig is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2003
Posts: 1,152 cleverpig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via MSN to cleverpig
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..

Reply With Quote
  #3  
Old January 7th, 2004, 01:38 PM
nickcol nickcol is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: uk
Posts: 62 nickcol User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 h 17 m 15 sec
Reputation Power: 5
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

Reply With Quote
  #4  
Old January 7th, 2004, 06:32 PM
cleverpig cleverpig is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2003
Posts: 1,152 cleverpig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via MSN to cleverpig
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..

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > Micorsoft Inet FTP Control


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway