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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T21:12:41+00:00 2026-06-05T21:12:41+00:00

Ok i decided to post the question here because i really don’t know what

  • 0

Ok i decided to post the question here because i really don’t know what to do or even if its possible. You might tell me it’s a repost or so but i aready read similar posts about it and it didn’t helped me out.

Here is the deal. I have an admin interface with django and want to download a file from an external site on my server with a progressbar showing the percentage of the download.

I can’t do anything while it’s downloading. I tried to run a command with call_command within a view but it’s the same.

Is it because Django server is single threaded? So, is it even possible do achieve what i want to do ?

Thanks in advance,

  • 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-05T21:12:42+00:00Added an answer on June 5, 2026 at 9:12 pm

    It’s possible but takes some jumps though the metaphorical hoops. My answer isn’t Django specific, you’ll need to translate it to your framework.

    1. Start a thread that does the actual download. While it downloads, it must update some data structure in the user’s session (total size of the download, etc).

    2. In the browser, start a timer which does AJAX requests to a “download status URL”

    3. Create a handler for this URL which takes the status from the session and turns that into JSON or a piece of HTML which you send to the browser.

    4. In the AJAX handler’s success method, take the JSON/HTML and put it into the current page. Unless the download is complete (this part is more simple with JSON), restart the timer.

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

Sidebar

Related Questions

I finally decided to post a question here after some time spent trying to
I don't know how to ask this question thru google, i try but what
A buddy of mine asked me to post this question: EDIT: He decided to
Possible Duplicate: Using Source Control So, although even here on Stack Overflow are literally
This is a follow up question from here specifically concerning its answer . From
Have searched for my solution on google and finally decided to post a question
After looking a while other google, and the web, I decided to post my
Ok guys. After something like 3 hours of struggle, I decided to post the
This question to which I already found the answer is posted here in case
Ok, I have search for about 3 hours and have decided to post this.

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.