Hi
Ive made a upload function that allowa uploads of .doc, .txt, .pdf and .xml
It works on windows but I cant make it work for Mac because I got no idea what the proper Mac extensions should be called
fileRef.browse([{description:"Documents", extension:"*.doc;*.txt;*.pdf;*.xml", macType:"doc;pdf"}]);