Veo un problema con Safari y la entrada de archivos. Cuando subo un archivo .pages o .key (Keynote), el nombre del archivo es incorrecto y tiene un tamaño de 0.
<html lang="en"> <body> <input type="file" accept=".png, .pdf, .key, .pages, .zip" onchange="alert('Name:'+ event.currentTarget.files[0].name + '\ntype: '+event.currentTarget.files[0].type)">fff </body> </body> </html> Esto tiene algo que ver con el tipo de aceptación y si lo cambia de accept=".png, .pdf,.key, .pages, .zip" a accept=".pdf,.key, .pages, .zip" obras:
<html lang="en"> <body> <input type="file" accept=".pdf, .key, .pages, .zip" onchange="alert('Name:'+ event.currentTarget.files[0].name + '\ntype: '+event.currentTarget.files[0].type)">fff </body> </body> </html>