Uploads a binary file from the Web container server to the Client Browser Side (Only for web environment). For example: mybinFile = Functions.Binary(text : "test message to upload as binary", encoding : "UTF8") // /tmp/clientFile is created on the machine from which the Browser is running myClientFile = ClientFile(sourcePath : "C:/tmp/clientFile") clientFileBName = uploadTo(myClientFile, fromBinary : mybinFile, message : "From Binary") display ("Check that the file was downloaded to the machine where the Browser is running: " + clientFileBName)
| Name | Type | Description | Mode |
|---|---|---|---|
| fromBinary | Binary | binary file to upload | in |
| message | String | in |