Closed jveldhuizen closed 10 years ago
Hi Jonathan,
In that case you can combine the 'getFileSize' and 'setResponseHeader' actions to get the right filesize.
I'm not sure whether this should be done automatically, since there is no efficient way to get the filesize of a filedocument (the mentioned 'getFileSize' action just reads & counts the entire file stream)
Closed, since there is currently no efficient way in Mendix to implement this, so it should be default behavior and the work-around described above is easy to implement by anyone.
If you download a file, you want to know the file name, via the Content-Length header.