ClientFile.uploadTo(fromBinary,message)

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)

Arguments:

Name Type Description Mode
fromBinary Binary binary file to upload in
message String message to show to the user before the action is executed (default: description of operation to perform) in