CFtpConnection::Command()
-
I've just found this function but I'm having a problem getting a response from the ftp server. Parameter 2 in the documentation says it should be set as CmdResponseType eResponse = CmdRespRead to get a response back from the server, but anyway I try to change it to this it won't compile because it doesn't recognise what CmdResponseType is or it doesn't recognise CmdRespRead. Has anyone had experience of how to get around this? Thanks for listening again :) ps, the function is this one that I'm trying to use. Thanks http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/vclrfCFtpConnectionCommand.asp
-
I've just found this function but I'm having a problem getting a response from the ftp server. Parameter 2 in the documentation says it should be set as CmdResponseType eResponse = CmdRespRead to get a response back from the server, but anyway I try to change it to this it won't compile because it doesn't recognise what CmdResponseType is or it doesn't recognise CmdRespRead. Has anyone had experience of how to get around this? Thanks for listening again :) ps, the function is this one that I'm trying to use. Thanks http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/vclrfCFtpConnectionCommand.asp
Sorry, forgot to mention that I'm using VS.Net to make this, so its that version of MFC thats being used. So far all I've discovered that the CmdResponseType is defined as an enum in the afxinet.h file, but I can't for the life of me make any use of it at all :( Thanks for any help I may get