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. A question about CFtpConnection

A question about CFtpConnection

Scheduled Pinned Locked Moved C / C++ / MFC
question
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.
  • C Offline
    C Offline
    Chaos Lawful
    wrote on last edited by
    #1

    Does SetCurrentDirectory() in CFtpConnection throw any exceptions?:confused: Law is meaningless without chaos. Chaos without Law is equal to destruction. Chaos and Law create our rich and colorful world.

    M 1 Reply Last reply
    0
    • C Chaos Lawful

      Does SetCurrentDirectory() in CFtpConnection throw any exceptions?:confused: Law is meaningless without chaos. Chaos without Law is equal to destruction. Chaos and Law create our rich and colorful world.

      M Offline
      M Offline
      Michael P Butler
      wrote on last edited by
      #2

      The docs say Returns Nonzero if successful; otherwise 0. If the call fails, the Win32 function GetLastError may be called to determine the cause of the error. Looking through the FTP code, there doesn't seem to be any code to throw an exception. Michael :-)

      C 1 Reply Last reply
      0
      • M Michael P Butler

        The docs say Returns Nonzero if successful; otherwise 0. If the call fails, the Win32 function GetLastError may be called to determine the cause of the error. Looking through the FTP code, there doesn't seem to be any code to throw an exception. Michael :-)

        C Offline
        C Offline
        Chaos Lawful
        wrote on last edited by
        #3

        But when I use SetCurrentDirectory in CFtpConnection calss, I sometimes got a error message from WININET.DLL and KERNEL32.DLL. I don't know why. Could you explain it?:confused: Law is meaningless without chaos. Chaos without Law is equal to destruction. Chaos and Law create our rich and colorful world.

        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