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. adding pause-resume options

adding pause-resume options

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

    hello everyone!!! i am uploading a few files using CFtpConnection:: putfile() function. the uploading is working fine in a thread. now, i want to know if there is any way (if possible) that i can add a pause-resume option to my application?? thanks...

    vijay.

    R 1 Reply Last reply
    0
    • V vijay_aroli

      hello everyone!!! i am uploading a few files using CFtpConnection:: putfile() function. the uploading is working fine in a thread. now, i want to know if there is any way (if possible) that i can add a pause-resume option to my application?? thanks...

      vijay.

      R Offline
      R Offline
      Rajesh R Subramanian
      wrote on last edited by
      #2

      What kind of an application is that? Multi threaded or single thread? If it is a multithreaded application and if the uploading is done by a separate thread, then you will have control of that thread. If only you are using a single threaded application, Here[^] is the answer :)

      Nobody can give you wiser advice than yourself. - Cicero

      V 1 Reply Last reply
      0
      • R Rajesh R Subramanian

        What kind of an application is that? Multi threaded or single thread? If it is a multithreaded application and if the uploading is done by a separate thread, then you will have control of that thread. If only you are using a single threaded application, Here[^] is the answer :)

        Nobody can give you wiser advice than yourself. - Cicero

        V Offline
        V Offline
        vijay_aroli
        wrote on last edited by
        #3

        well sir, thank u very much... yes, i have a separate thread for uploading files and i have even written the code to abort the thread when i press the stop button.. but still not able to make it work.. well, i will again see what mistake i am doing... thank u..:)

        vijay.

        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