WebFile.ForceDownload
From Xojo Documentation
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site! |
Property (As Boolean )
aWebFile.ForceDownload = newBooleanValue
or
BooleanValue = aWebFile.ForceDownload
New in 2010r5
Supported for all project types and targets.
or
BooleanValue = aWebFile.ForceDownload
New in 2010r5
Supported for all project types and targets.
ForceDownload defaults to False. If True, the content will always be downloaded to the user’s computer rather than displayed in the browser. For example, a PDF document would traditionally be displayed in the browser. By setting ForceDownload to True, the PDF would instead be downloaded to disk.