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

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -