Downloading file directly from the application without using the client

5
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
asked
2 answers
6

The url is:

<host>/file?thumb=true&fileID=<fileID>

However, you need either allow guests to access the file, or setup a session first in order to be able to download the file.

answered
2

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.

answered