Adrian ~ FoobarSoftware.com
2005-10-26 13:28:05 UTC
I am using WinInet to make an FTP Connection (using
CInternetSession::GetFtpConnection ).
With some ISPs, extra text is passed back in error messages. For example, if
you try to connect to an account with tiscali.co.uk from a dialup account
other than the one they supply, you get a 530 response with some text like
this:
"Your upload to your personal webspace has not been successful. This is
because you have attempted to upload from a non-Tiscali connection. Please
try again using a Tiscali group dialup or broadband connection (including
LineOne, WorldOnline. Tiny, Gateway and Screaming.net). "
Since this sort of information is useful to the user when he/she is sorting
out connection problems, I want to be able to retrieve it and display it.
However, it does not appear in the text produced by the CInternetException
which is thrown, so is there a way for me to get at this text?
Many thanks for any help,
Adrian
CInternetSession::GetFtpConnection ).
With some ISPs, extra text is passed back in error messages. For example, if
you try to connect to an account with tiscali.co.uk from a dialup account
other than the one they supply, you get a 530 response with some text like
this:
"Your upload to your personal webspace has not been successful. This is
because you have attempted to upload from a non-Tiscali connection. Please
try again using a Tiscali group dialup or broadband connection (including
LineOne, WorldOnline. Tiny, Gateway and Screaming.net). "
Since this sort of information is useful to the user when he/she is sorting
out connection problems, I want to be able to retrieve it and display it.
However, it does not appear in the text produced by the CInternetException
which is thrown, so is there a way for me to get at this text?
Many thanks for any help,
Adrian