Downloading file directly from the application without using the client
For a project we are doing there is the need to download files (pdf's, txt, csv, etc. -files)directly and automated from the server. (For the purpose of further internal routing of these files in to the desinated network folders of the client). I know direct download of "Mendix" files can be done by use of the file-id's. Can some one clearify to me how to construct the proper url to do so? Thanks in advance, Martijn
The url is:
However, you need either allow guests to access the file, or setup a session first in order to be able to download the file.
As an alternative you can also use the deeplink module to get files or use a webservice call. This will give you the possibility to log the file retrieves etc.