The name returned by the download form depends on the browser security settings.
In windows, C: \ fakepath is used to obscure where the file is located. However, the file name is always saved.
os'es, C:\fakepath ( 100% , , Linux).
GWT, FileUpload; os'es ( () ). Windows, Ubuntu OS/x. , "/" "\" ( , ) getFileName :).