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
Suggestion for Enhancement:
We should add another parameter, just like the "binary_fields" parameter that is comma separated above to determine the order of the binary upload. We could name the parameter something like "binary_field_names" which permits a comma separated list of the names of the binary files on upload.
This way the file names can be controlled via api on submit.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had activity within the past 90 days. It will be closed in 30 days no further activity occurs. Thank you.
Tested on Master on 1/31/18
I just tested this issue: #11613
I noticed that when you upload multiple binary files, that they all get the same filename as shown in the picture below:

Right now the fileName parameter is not only naming the file, but also the names of ALL the binary files uploaded with the same name.
curl -v -u [email protected]:admin -XPUT http://localhost:8080/api/content/publish/1 -F "json={stName:'fileAsset',hostFolder:'demo.dotcms.com:/images',title:'test7',binary_fields:'newBinary,fileAsset',fileName:'myFileName.jpg'};type=application/json" -F "[email protected];type=application/jpg" -F "[email protected];type=application/jpg"
Suggestion for Enhancement:
We should add another parameter, just like the "binary_fields" parameter that is comma separated above to determine the order of the binary upload. We could name the parameter something like "binary_field_names" which permits a comma separated list of the names of the binary files on upload.
This way the file names can be controlled via api on submit.
The text was updated successfully, but these errors were encountered: