Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8517539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T05:43:46+00:00 2026-06-11T05:43:46+00:00

Lets say I have a loop and Im uploading some files somewhere. If I

  • 0

Lets say I have a loop and Im uploading some files somewhere. If I dont have a connection I just reconnect again. If I tried to connect x times I want to wait. For this wait time I could use a Timer. But because the application is doing other stuff too, it should not be sync – I want this as async. Is it a good idea to create a System.Threading.Timer and count this down? And then I could add something like if (Timer done) { connect again and upload } Any suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T05:43:48+00:00Added an answer on June 11, 2026 at 5:43 am

    If the application is doing other things why is it OK to block on the uploads but not block on the wait. Do it all a BackGroundWorker and ProgressChanged to show how many files are complete.

    BackgroundWorker Class

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Lets say I have a loop in Bash: for foo in `some-command` do do-something
Lets say i have at least two lua script files. test1.lua test2.lua both define
Lets say I have multiple commands like 5000 which updates some column and row
Lets say I have a sequence of 8 items, these loop such that after
Lets say I have some sort of graphical animation code where I have two
Lets say I have a variable called $file and the for loop: for($i=1; $i
I have a problem, lets say I have a continuous while loop, and inside
Lets say i have this - for() { //this is a for-each loop try
Lets say I have some text with lots of instances of word Find, which
So let's say I have a file attached to a loop device /dev/loop1 how

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.