Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. CFtpConnection::Command()

CFtpConnection::Command()

Scheduled Pinned Locked Moved C / C++ / MFC
htmlcomsysadminhelptutorial
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    carrie
    wrote on last edited by
    #1

    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

    C 1 Reply Last reply
    0
    • C carrie

      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

      C Offline
      C Offline
      carrie
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups