Now we reject this with idiomatic 409 error code and error msg. But it should behave like real fs so if some user wansta upload the same file several times -> just let Tim cook! Behave like fs - create it with a name like {filename}({n}) where n is the next number of the same name, starts with 1.
Now we reject this with idiomatic 409 error code and error msg. But it should behave like real fs so if some user wansta upload the same file several times -> just let Tim cook! Behave like fs - create it with a name like
{filename}({n})
wheren
is the next number of the same name, starts with1
.