The DownloadStream function transmits binary stored data to the web client. This file can then be saved in the local file system via the browser-integrated functions.
Syntax | |||||
DownloadStream(ByRef Data As Variant, ByVal Name As String) | |||||
Return value | |||||
Type |
Description | ||||
Long |
0 if it was carried out error-free | ||||
Parameter | |||||
Use |
Name |
Type |
Passing |
Description | |
Required |
Data |
Variant |
ByRef |
The binary data to be made available as a file in the browser | |
Required |
Name |
String |
ByVal |
Name of the download as you want it to appear in the browser | |