When the user downloads an attachment/file from Chrome from Gmail, whatever I need the file to be downloaded to a specific defined directory.
I try to be more clear: I need to create an app that contains the files that are downloaded. Therefore the app will define a directory.
When the user downloads something from internet, Gmail.. the download should go in there.
I do not know how to implement this kind of behavior.