tencentyun / cos-python-sdk-v4

Python SDK for COS v4
Apache License 2.0
38 stars 22 forks source link

upload file without overwriting failed #28

Open thinkycx opened 7 years ago

thinkycx commented 7 years ago

When uploading the files , using the request.set_insert_only function and it will still overwriting the files . That means the function doesn't work. Could you check it out?

request.set_insert_only(0)
request.set_insert_only(1)
tenfyzhong commented 6 years ago

@thinkycx @Liuchang0812 Upload the same file, it will update the upload time even if set_insert_only(1). But if upload a different file with a name has existed in cos, it will failed.