javascript - When uploading images using JS Qiniu, a file exists error occurs (file exists)
学习ing2017-06-22 11:54:20
0
2
1092
When uploading images using JS Qiniu, a file exists error occurs. After I change the name, it works again. Even when uploading a certain file name in the official DEMO, this error will be reported. This How to solve it...
This can only be said to be that Qiniu itself does not support uploading files with the same name.
The client shouldn’t be able to solve it, it can only be solved by the server.
I think you can try giving feedback to Qiniu to see if they can support configurable policy for files with the same name, add options such as direct replacement, or automatically name it timg(1).gif.
This can only be said to be that Qiniu itself does not support uploading files with the same name.
The client shouldn’t be able to solve it, it can only be solved by the server.
I think you can try giving feedback to Qiniu to see if they can support configurable policy for files with the same name, add options such as direct replacement, or automatically name it timg(1).gif.
See Qiniu Cloud Documentation: How to prevent users from uploading files with the same name, you can upload them by specifying the key value