Im using the FTP API's in order to connect to and download a ZIP file off a ftp.
The thing is, I would like to create some error messages to handle several circumstances.
1. Connection to FTP unavailable.
2. Password/Username incorrect.
I know that i can query "hConnection" - that is the return value of InternetOpen - But that only returns a value indicating if the connection is a success or not.
Is there a way that I can use to determine the specific error? In particular the above 2 points. Pls show any examples!
many thanks!




Reply With Quote