Automation Builder send binary

Issues related to label design (working with databases, data processing, RFID encoding etc.) and printing (from NiceLabel Express, NiceLabel Pro, NiceForm and NicePrint)

Moderators: Georges, milos, NiceLabel Support Team

Post Reply
Posts: 1
Joined: Tue Mar 02, 2021 2:46 pm

Automation Builder send binary

Post by bigge » Tue Mar 02, 2021 2:55 pm

I'm trying to send a file over Tcp/Ip from a Autmation script to a server.

The really simple steps are :
1) Open data from file to a variable [BinaryFile] set to BINARY
2) Send data to server using [BinaryFile] variabile

The procedure works fine ONLY with text files: if I try to send a bmp file for example, the size of data sent are almost double. I already try all encode options but with no results.

Documentation just say set variable to binary, but it seems that when you load binary data happens a sort of conversion! Moreover setting variable to BINARY switch off any kind of encode option, as it should be.

Thanks in advance

Post Reply