Open alireza5014 opened 4 years ago
I believe if the file exists it will be overridden,
and if you want to separate the namespace for each user, so the redundant file name wont collide whit each others:
like user 1 uploads an untitled.jpg & user 2 uploads an untitle.jpg
in this case you can use the instanceId with id of the users (or any string to use as a namespace)
instanceId
$resumable = new Resumable($request, $response, $instanceId);
I believe if the file exists it will be overridden,
and if you want to separate the namespace for each user, so the redundant file name wont collide whit each others:
like user 1 uploads an untitled.jpg & user 2 uploads an untitle.jpg
in this case you can use the
instanceId
with id of the users (or any string to use as a namespace)