tus-php
tus-php copied to clipboard
Can't upload same name two different file.
can't upload same same two different file. Suppose i have one file name with test.mp4 and same name another file in different location. If i uploaded on and trying to upload another then it's showing as completed.
The file are compared based on their hash value generated from their contents. So if you have the exact same file with different name it is still the same file.
@ankitpokhrel It was two different file of same name.
@dipaksarkar The upload is determined by the Upload-Key which the client can pass in request header. A unique key is generated if this key is not available in the headers. I assume your client is sending same upload key if the filename is same. Could you check the Upload-Key header in your requests?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Closing because of inactivity.