Problem with InternetGetLastResponseInfo

McCloud
01-21-2002, 07:04 AM
Hello,

I've got a problem with the InternetGetLastResponseInfo API call. I use this call in an FTP object class to display the response I get from an FTP-server.

The problem is that when I try to transfer a file (FTP get command) the API call returns the correct response codes and descriptions. When I then try to re-get the file (I execute the same get command on the same file) the API call doesn't return any response at all, allthough the program does transfer the file. When I try to transfer a different file, the API call returns the correct response codes again. When I try to re-transfer that file, the API call again doesn't return anything at all.
It doesn't matter whether I close the FTP-connection or not (I also tried setting the FTP object to Nothing, but that doesn't help either).
When I shut-down and restart the program I get the same behaviour, first transfer gives response, second transfer of the same file doesn't give any response.

Does somebody know what the problem is and how I can fix it?

Thanks

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum