I am scripting an application in php (installed on the client side). There will be a front end accessible from the browser (standard html + javascript, ...) and some background process (php). The application should be able to download files. The plan is to let the user of the front end decide of the target location for the download (folder and filename) with standard browser dialog box (with offering a dummy content) and then to perform the download of the real content with the background processes.
Is there a way to know, with javascript, the target location chosen by the user for a download ? and if yes, how ?
EDIT
To make the question less intrusive : is there a way to let the user choose a target location on its filesystem with a standard dialog box and let the browser know this location ?