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. upload file through FTP

upload file through FTP

Scheduled Pinned Locked Moved C / C++ / MFC
helpsysadmin
5 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.
  • R Offline
    R Offline
    raj1576
    wrote on last edited by
    #1

    Hi All, I am using CFtpConnection to upload the files on to the ftp server. It works fine for upload the files on to the server. My problem is that how i find the progress of the file i.e. how much file uploaded on to the server. please help me.

    M 1 Reply Last reply
    0
    • R raj1576

      Hi All, I am using CFtpConnection to upload the files on to the ftp server. It works fine for upload the files on to the server. My problem is that how i find the progress of the file i.e. how much file uploaded on to the server. please help me.

      M Offline
      M Offline
      Madhu Nair 0
      wrote on last edited by
      #2

      raj1576 wrote:

      My problem is that how i find the progress of the file

      You could use CInternetFile's Open and Read method to write the file yourself, giving you the ability to easily calculate the progress. Also try using CInternetSession::OnStatusCallback[^] for status updates.

      R 1 Reply Last reply
      0
      • M Madhu Nair 0

        raj1576 wrote:

        My problem is that how i find the progress of the file

        You could use CInternetFile's Open and Read method to write the file yourself, giving you the ability to easily calculate the progress. Also try using CInternetSession::OnStatusCallback[^] for status updates.

        R Offline
        R Offline
        raj1576
        wrote on last edited by
        #3

        Thanks for reply I tried Also Open and Read method but this is synchronous but I want asynchronous. so I use CFtpConnection. I also tried OnStatusCallback but I am not getting how I use this callback function.Pls help somithing for using this callback function.

        M 1 Reply Last reply
        0
        • R raj1576

          Thanks for reply I tried Also Open and Read method but this is synchronous but I want asynchronous. so I use CFtpConnection. I also tried OnStatusCallback but I am not getting how I use this callback function.Pls help somithing for using this callback function.

          M Offline
          M Offline
          Madhu Nair 0
          wrote on last edited by
          #4

          Try CFTPTransferDlg & CFTPTransferer v1.14 by PJ Naughter[^]

          R 1 Reply Last reply
          0
          • M Madhu Nair 0

            Try CFTPTransferDlg & CFTPTransferer v1.14 by PJ Naughter[^]

            R Offline
            R Offline
            raj1576
            wrote on last edited by
            #5

            thanks for help

            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