Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

127
Views
href to downloadable url leads to page reload in flask app

I have flask app and some href to url which downloads file(.log file), I want to just download that file on click(button href leads to download on that url), instead of opening new page, downloading, closing that page, and mainly refreshing my main index.html? I don't want to force download, because there are situations where it will redirect to normal url( not downloadable one).

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Adding the download attribute to the </a> tag should download the file instantly without opening a new tab.

<a href="/path/to/.log" download>
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!