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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -