Forum Discussion
Kai_Wilke
Jan 25, 2018MVP
Hi Tiny Cloud Ninja,
to concentate binary data you may check out the [binary format] syntax below...
set payload [binary format A*A*A*A* $firstboundary $contentdisposition $decodedfilesfile $lastboundary]
... the syntax will create a variable
without
an existing UTF-8 representations (TCL=everything is UTF-8 in its primary form), but instead just a shimmered binary representation (TCL=every variable may have a second representation. In this case a binary value).
If you pass the variable then to another command which is able to handle binary data (sideband should be fine to handle this), it would receive the binary representation...
Cheers, Kai