Newsgroups : Microsoft : microsoft.public.inetsdk.programming.wininet : 2007 Dec : Getting response to a command sent with WinInets.dll's FtpCommand()
| Subject: | Getting response to a command sent with WinInets.dll's FtpCommand() |
| Posted by: | "SuperBK" (bkowa..@gmail.com) |
| Date: | Mon, 3 Dec 2007 19:29:37 -0800 (PST) |
I thought I posted this earlier, but I don't see it, so here goes
again.
If I send a command like "SIZE filename" with the FtpCommand()
function in Wininet.dll, how do I get the response back? In this case
the command comes back on the same socket as its sent on. The response
should be "213 size". I found the example where FtpCommand returns
data and you can get the data by calling InternetReadFile with the
handle.
Brian