|
||||||
| C and C++ C and C++ forum for discussing all forms of C except for C#. These languages are powerful low level languages used for creating Operating Systems, Device Drivers, compilers and much more. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
I am having a problem in my FTP client designed using MFC wininet API. I am using Visual C++ 6.0.
I create a session variable through which I open a FTP connection and then I read any file on the FTP server. After reading few characters I try to close the file(or delete connection pointer or session variable). Problem:-- My application hangs if I try to close the file as soon as I am done with reading the file. If I wait for sometime after reading the file and then closes the file the application does not hang. Adding a delay after reading the file serves the purpose but it is not a very elegant method and secondly the delay I think will be dependent on Server's speed. Can you suggest me how to proceed !!! |
| Sponsored Links |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem read pwd protected Access2K dbase - CR9 & VB6 | mrbar | Visual Basic Programming | 2 | 03-10-2008 04:50 AM |
| John | ........ | 223.00000 |
| dargueta | ........ | 168.00000 |
| Xav | ........ | 164.00000 |
| LogicKills | ........ | 20.00000 |
| gaylo565 | ........ | 18.00000 |
| WingedPanther | ........ | 15.00000 |
| |pH| | ........ | 15.00000 |
| Johnnyboy | ........ | 3.00000 |
| navghost | ........ | 1.00000 |
Goal: 100,000 Posts
Complete: 67%