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::GetFile - error 12003 ?

CFtpConnection::GetFile - error 12003 ?

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestioncomtutorial
2 Posts 2 Posters 1 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
    chenggong
    wrote on last edited by
    #1

    Hi, I get lastError code = 12003 when trying GetFile() as follows- Could you tell me what is the error for this code and how to fix it. Thanks !! --my code (vc__6.0): CInternetSession sess( _T("mysite"), 1, PRE_CONFIG_INTERNET_ACCESS); CFtpConnection* pConnect = NULL ; sess.GetFtpConnection( _T("ftp.mysite.com") , _T("me") , _T("pwd") ) ;} if( ! pConnect->GetFile( _T("bcu.txt") , _T("c:\\tou.txt") , FALSE ) ) { DWORD dw = GetLastError(); }

    R 1 Reply Last reply
    0
    • C chenggong

      Hi, I get lastError code = 12003 when trying GetFile() as follows- Could you tell me what is the error for this code and how to fix it. Thanks !! --my code (vc__6.0): CInternetSession sess( _T("mysite"), 1, PRE_CONFIG_INTERNET_ACCESS); CFtpConnection* pConnect = NULL ; sess.GetFtpConnection( _T("ftp.mysite.com") , _T("me") , _T("pwd") ) ;} if( ! pConnect->GetFile( _T("bcu.txt") , _T("c:\\tou.txt") , FALSE ) ) { DWORD dw = GetLastError(); }

      R Offline
      R Offline
      RadioOpa
      wrote on last edited by
      #2

      Loook here: http://techsupt.winbatch.com/TS/T000002003F4.html[^]

      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