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

101
Views
Descargue el archivo PDF desde el enlace .NET Vue

Intento descargar un archivo pdf de mi base de datos sql. Muestro la lista de la base de datos. Mi propósito es obtener un archivo pdf del enlace. Debido al bucle "for", no sé cómo obtener la ruta correcta para descargarlo.

 ///FRONTEND CODE <tr v-for="not in notatki"> <td>{{not.NotatkaId}}</td> <td>{{not.NotatkaName}}</td> <td>{{not.Przedmiot}}</td> <td>{{not.DateOfJoining}}</td> <td><a href="http://localhost:37924/api/Notatki/{{not.NotatkaFileName}}" download>Download File</a></td> <td> ///API CODE public JsonResult SaveFile() { try { var httpRequest = Request.Form; var postedFile = httpRequest.Files[0]; string filename = postedFile.FileName; var physicalPath = _env.ContentRootPath + "/Notatki/" + filename; using (var stream = new FileStream(physicalPath, FileMode.Create)) { postedFile.CopyTo(stream); } return new JsonResult(filename); }

Es enlace con error [1]: https://i.stack.imgur.com/H5fqW.png

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!