iphone - iOS file upload - original filename -
i have simple html file upload snippet works under ios well. problem filename of uploaded file 'image.jpeg'. there way original filename - i.e. 'img_0001.jpg' instead? major issue if have 2 files selected both have name of 'image.jpeg' opposed unique names.
safari on ios make name of uploaded file image.jpeg
, presumably security/privacy purposes. need generate own name files, idea in general uploaded files: never want trust client much.
if targeting more safari on ios, still need handle case because reasonable people might upload multiple files same name, located in different directories.
Comments
Post a Comment