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

78
Views
Place download request in one tab but complete in another

A web app opens new tab and places a POST request to the server to create a file for a download. Here is the code that sends the file back:

Response.AppendHeader("content-disposition", "attachment; filename=name");
Response.ContentType = "application/octet-stream";
Response.WriteFile(zipPath);
Response.Flush();
Response.End();

What can happen is that the user can close the new tab and no download would take a place. Is there any chance that the app would still get the file? I understand that placing request in the app is the way to go, but I am dealing with existing architecture.

Thanks for help.

Just to point out that the files needs to created first hich take some time.

about 4 years ago · Juan Pablo Isaza
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!