Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

322
Vistas
How can we Save modified PDF file from mozilla pdf.js to our personal server(cross Domain) with out downloding the file?

Here is something I have tried. When we browse the bloburl, it has the pdf data with all modifications. when I try to upload the blob file to server the file is corrupted. I can't open it in pdf viewer. when I try to open the saved file in server using chrome, it opens and only the modified data is showing. All other content are corrupted.

Please suggest any method you see fit.

var blobUrl = "blob:http://localhost/6e28b1f8-65c2-4457-a8f6-bffaab5f2347";
const data = await fetch(blobUrl);            
const blob = await data.blob();       

var formData = new FormData();   
formData.append("file", blob,"filename.pdf");

await fetch('http://localhost:54402//Controller//Methode', {
    method: 'POST',
    body: formData
})
.then(response => response)
.then(data => console.log(data));

C#

public ActionResult Methode(HttpPostedFileBase file)
    {

    }
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda