I have read many articles etc that attempt to explain why a file (e.g. attachment etc) cannot be uploaded via AJAX (atleast without some \'tricks\' behind the scene).
File uploads are performed through a standard called multipart/form-data. Javascript has no way of reading the contents of files on the client computer.