Home  >  Q&A  >  body text

node.js

node.js如何获取远程文件的大小

伊谢尔伦伊谢尔伦2729 days ago622

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-04-17 14:25:17

    As I mentioned in your previous question, can node.js fs.stat only read the local file size? Already answered, have you tried it?

    Or try this module remote-file-size, the principle is the same as what I said, but it is encapsulated

    reply
    0
  • Cancelreply