You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When multiple files of the same name are uploaded via POST method, transfer.sh overwrites all of them with the last uploaded file. This happens because all the files uploaded in a single POST request get a single UID in the URL, and are named based on the upload name.
How to replicate:
Upload two files with the same name but different contents (for example, a/foo.txt and b/foo.txt in a single POST request
Open the returned URLs
Expected outcome:
The two uploaded files are different
Actual outcome:
The uploaded files are the same, with one overwriting the other
Possible solutions:
Generate a separate UID for each file in a POST request
Add another unique random string to the filename so that the upload URL is different
The text was updated successfully, but these errors were encountered:
When multiple files of the same name are uploaded via POST method, transfer.sh overwrites all of them with the last uploaded file. This happens because all the files uploaded in a single POST request get a single UID in the URL, and are named based on the upload name.
How to replicate:
a/foo.txt
andb/foo.txt
in a single POST requestExpected outcome:
The two uploaded files are different
Actual outcome:
The uploaded files are the same, with one overwriting the other
Possible solutions:
The text was updated successfully, but these errors were encountered: