cancel
Showing results for 
Search instead for 
Did you mean: 

Gateway File - Transfer and storage of binary files

florian_weigold
Advisor
Advisor
0 Kudos

Hi,

in the documentation of the Gateway File, there is a reference to a capability to transfer binary files to the IoT Core Service.

Can someone please point me to some content describing how this has to be configured?

Also, where are the transferred files stored and how can the transferred files be accessed?

Best regards,
Florian

Accepted Solutions (0)

Answers (1)

Answers (1)

anton_levin
Advisor
Advisor
0 Kudos

Hello Florian,

please have a look at Gateway Edge (File) [1] tutorial > Data Model step.

Regards,

Anton

[1] https://help.sap.com/viewer/2951638564ae4bf4b78866018fc127b7/Cloud/en-US

florian_weigold
Advisor
Advisor
0 Kudos

Hi Anton,

thanks for the quick response and pointer to the tutorial. I can find there examples for the File CSV & JSON, but not for the actual binary transfer. Am I missing something? Also, where are the transferred files stored and how can the transferred files be accessed?

Best regards,
Florian

anton_levin
Advisor
Advisor
0 Kudos

Gateway Edge (File) is about reading the file (CSV/JSON) contents and sending them to the Cloud as measures. You may then consume the measures via Cockpit or API. It is not transferring the file themselves.

For binary transfer, I would suggest to model a Capability with Property of type String and send file content as encoded Base64 string.

Hope it helps,

Anton

florian_weigold
Advisor
Advisor
0 Kudos

Hi Anton,

docu says: "For binary, the file is transferred as-is (in binary format) to the Internet of Things Core Service."
Hence, my assumption was there is also a "real" binary transfer.

Can this be clarified in the documentation then?

Best regards,
Florian

anton_levin
Advisor
Advisor
0 Kudos

I will forward this to responsible colleagues.