uploadHubFile [SOLVED]

How do we employ this method?

Basic format is

uploadHubFile(String fileName, Byte fileContent)

An example hubitat/fmBckRestore.groovy at main · thebearmay/hubitat · GitHub about line 328.

1 Like

Looks simple...he says as his brain melts out his ears.

1 Like

A simpler version perhaps:

uploadHubFile(“$fileName”,stringContents.getBytes())
2 Likes

I think I can work with that. You are a gentleman and a scholar.

Shhhhh you’re going to ruin my reputation :sunglasses:

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.