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. FTP connection problems like 12003, what's this?!

FTP connection problems like 12003, what's this?!

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++comjsonquestion
3 Posts 2 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.
  • E Offline
    E Offline
    EdgarBM
    wrote on last edited by
    #1

    Hi, I'm developping an ATL COM control to work with FTP servers. I use Ftpxxx(...) API functions, which almost all return the error status with the function 'GetLastError'; no problem. The problem is that it returns error numbers like 12003 or 12017, all involved to Ftp functions and NO ONE OF THEM IS LISTED IN 'GetLastError' ERRORCODES!!. I've found some of them looking at Mircosoft's web (not all which appeared!) but it only returns this error nor the list of all the possibilities. It's a problem!..I don't know how recover from an unknown error!! Anyone knows where to find these errors? Thanks in advance. :confused: :( Edgar Berengena Moreno Software Engineer La Salle University, URL. Barcelona, Spain.

    R 1 Reply Last reply
    0
    • E EdgarBM

      Hi, I'm developping an ATL COM control to work with FTP servers. I use Ftpxxx(...) API functions, which almost all return the error status with the function 'GetLastError'; no problem. The problem is that it returns error numbers like 12003 or 12017, all involved to Ftp functions and NO ONE OF THEM IS LISTED IN 'GetLastError' ERRORCODES!!. I've found some of them looking at Mircosoft's web (not all which appeared!) but it only returns this error nor the list of all the possibilities. It's a problem!..I don't know how recover from an unknown error!! Anyone knows where to find these errors? Thanks in advance. :confused: :( Edgar Berengena Moreno Software Engineer La Salle University, URL. Barcelona, Spain.

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

      To be found in WININET.H delivered with MS VC++ 6.0 // // Internet API error returns // #define INTERNET_ERROR_BASE 12000 #define ERROR_INTERNET_OUT_OF_HANDLES (INTERNET_ERROR_BASE + 1) #define ERROR_INTERNET_TIMEOUT (INTERNET_ERROR_BASE + 2) #define ERROR_INTERNET_EXTENDED_ERROR (INTERNET_ERROR_BASE + 3) . . . . So far ... RockNix/// --------------------------------- www.klangwerker.de Look out for free Win32 Serial Communication Module for VC++ or Borland C++ Builder ---------------------------------

      E 1 Reply Last reply
      0
      • R RockNix

        To be found in WININET.H delivered with MS VC++ 6.0 // // Internet API error returns // #define INTERNET_ERROR_BASE 12000 #define ERROR_INTERNET_OUT_OF_HANDLES (INTERNET_ERROR_BASE + 1) #define ERROR_INTERNET_TIMEOUT (INTERNET_ERROR_BASE + 2) #define ERROR_INTERNET_EXTENDED_ERROR (INTERNET_ERROR_BASE + 3) . . . . So far ... RockNix/// --------------------------------- www.klangwerker.de Look out for free Win32 Serial Communication Module for VC++ or Borland C++ Builder ---------------------------------

        E Offline
        E Offline
        EdgarBM
        wrote on last edited by
        #3

        Thanks! Sometimes is easier browse internet and create a thread than think a little... Thank you again. Edgar Edgar Berengena Moreno Software Engineer La Salle University, URL. Barcelona, Spain.

        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