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

126
Views
¿Puedo enviar archivos de un servidor a otro?

Estoy creando un servidor de nodo simple para almacenar archivos usando express-fileupload. Y descubrí que los archivos almacenados en el servidor se eliminarán cuando se actualice el sitio web. Por lo tanto, he creado otro servidor para almacenar archivos. código.

Subir archivo.com

 //...someting var file=req.files.fle file.mv(path.join(__dirname+"/cloud/",file.name),(err)=>{ if(err){ console.log(err) res.send("ERROR") }else{ //something..

¿Hay alguna forma de enviar el archivo al sitio web que solía almacenar el archivo (por ejemplo, StoreFile.com) cambiando el __dirname? Proporcione el código fuente de muestra gracias.

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!