search

Home  >  Q&A  >  body text

How to upload files to multiple servers using node multer?

Now there is a function to click a button to upload files, but there is a load server, so it can only be uploaded to one computer at a time. How can it be uploaded to two computers at the same time?

阿神阿神2784 days ago946

reply all(2)I'll reply

  • 阿神

    阿神2017-05-24 11:41:03

    For pure front-end operation.

    If it is transmitted through a form, it probably won’t work.

    If you use ajax to transmit, adjust the interface one more time.

    reply
    0
  • 巴扎黑

    巴扎黑2017-05-24 11:41:03

    Use a distributed file system, such as ceph

    reply
    0
  • Cancelreply