FTP-Copy with C++

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Reiner Wahnsiedler

    FTP-Copy with C++

    Hallo,

    is it possible to copy files from a FTP-server to my computer?

    How to do this?

    Thanks in advance,

    Reiner



  • Victor Bazarov

    #2
    Re: FTP-Copy with C++

    "Reiner Wahnsiedler" <reiner.wahnsie dler@t-online.de> wrote...[color=blue]
    > is it possible to copy files from a FTP-server to my computer?[/color]

    Yes, I've done that many times. I issue 'ftp' command and then
    connect to the server, then continue inputting commands when it
    prompts me...

    Oh, were you asking how to do this programmaticall y? There is
    no way in C++. You might want to research communication libraries
    available for your OS.
    [color=blue]
    >
    > How to do this?[/color]

    Google


    Comment

    • Jerry Coffin

      #3
      Re: FTP-Copy with C++

      "Reiner Wahnsiedler" <reiner.wahnsie dler@t-online.de> wrote in message news:<c7bpo2$oi f$05$1@news.t-online.com>...[color=blue]
      > Hallo,
      >
      > is it possible to copy files from a FTP-server to my computer?[/color]

      No -- those times you thought you were using ftp, you were imagining
      it. :-)
      [color=blue]
      > How to do this?[/color]

      That depends on your platform, so you'll really need to discuss it in
      a newsgroup devoted to the platform(s) of interest to you.
      --
      Later,
      Jerry.

      The universe is a figment of its own imagination.

      Comment

      • Corne' Cornelius

        #4
        Re: FTP-Copy with C++

        Surely you could develop a FTP class or plain library from the relevant
        RFC. From that class/library you could develop your own client or just
        use class instances to transfer files.

        You could even look for such a class/library on the web.


        Reiner Wahnsiedler wrote:[color=blue]
        > Hallo,
        >
        > is it possible to copy files from a FTP-server to my computer?
        >
        > How to do this?
        >
        > Thanks in advance,
        >
        > Reiner
        >
        >
        >[/color]

        Comment

        • Michiel Salters

          #5
          Re: FTP-Copy with C++

          "Reiner Wahnsiedler" <reiner.wahnsie dler@t-online.de> wrote in message news:<c7bpo2$oi f$05$1@news.t-online.com>...[color=blue]
          > Hallo,
          >
          > is it possible to copy files from a FTP-server to my computer?[/color]

          std::system("ft p /*arguments");

          Regards,
          Michiel Salters

          Comment

          • Reiner Wahnsiedler

            #6
            Re: FTP-Copy with C++

            Hello Michiel,

            thanks a lot.
            I will test it immediately.

            Bye,

            Reiner


            Comment

            • USCode

              #7
              Re: FTP-Copy with C++

              FYI - wxWidgets has an FTP class, wxFTP.


              "Reiner Wahnsiedler" <reiner.wahnsie dler@t-online.de> wrote in message
              news:c7bpo2$oif $05$1@news.t-online.com...[color=blue]
              > Hallo,
              >
              > is it possible to copy files from a FTP-server to my computer?
              >
              > How to do this?
              >
              > Thanks in advance,
              >
              > Reiner
              >
              >
              >[/color]


              Comment

              Working...