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 7776731
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T17:57:17+00:00 2026-06-01T17:57:17+00:00

I got one page where i do some file manipulation, and when file is

  • 0

I got one page where i do some file manipulation, and when file is done, i need to upload to amazon s3. Sometimes file can be large, so user on submit need to wait too much. How can i make something like

  1. File manipulation
  2. When is done, i send file name parameters to some function
  3. I don’t need to wait for that function, i want to use Response.Redirect before uploading is done.
  • 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-01T17:57:17+00:00Added an answer on June 1, 2026 at 5:57 pm

    Easiest way to do this:

    ThreadPool.QueueUserWorkItem(YourUploadMethod);
    

    There is some comment below arguing with this, so I wrote this:

        protected void Page_Load(object sender, EventArgs e)
        {
            ThreadPool.QueueUserWorkItem(YourUploadMethod);
    
            Response.Redirect("http://google.com");
        }
    
        public void YourUploadMethod(object state)
        {
            Thread.Sleep(7000);
        }// breakpoint: I was redirected to google and then debugger stopped me here
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is this possible? I've got one jquery file that is loaded in every page
I'm running some tests with Cucumber/Capybara. I've got one scenario where the user goes
i got one page from curl which contain <?xml version=1.0 encoding=UTF-8?> <ipinfo xmlns=http://data.quova.com/1 xmlns:xs=http://www.w3.org/2001/XMLSchema-instance>
I've got a series of Excel spreadsheets, each with at least one page of
I've got one really big .java class file that has a lot of members.
I've got one if, and one else in my script. But I need something
I've got one head scratcher of a problem that I can't seem to find
I've got a file notifications.js containing one event bound to an element, and a
I need to do some work with a backup WSS .dat file and I'm
I need to delete a page from a multipaged TIFF file. I am currently

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.