s*****w 发帖数: 1527 | 1 最简单的情况, i can upload a file (say myFile.txt) using multer, and keep
its original name in the server side.
const upload = multer({ dest: `${UPLOAD_PATH}/` }); // multer configuration
别处另一个人也 upload a different file with same file name myFile.txt to the
same folder in server side. Will it overwrite the previous one ?
How do you normally manage this ? Thanks ! | l**********n 发帖数: 8443 | 2 move to somewhere else, save the mapping in database |
|