javascript - When uploading images using JS Qiniu, a file exists error occurs (file exists)
学习ing
学习ing 2017-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...

学习ing
学习ing

reply all(2)
小葫芦

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template