Forum Discussion
andrew_deackes
Apr 01, 2020Nimbostratus
Hi Pete,
I'll try with iFiles tomorrow, I've not used them before so will have a read up on that.
It's odd because I thought it would be octet-stream but it shows as text/plain content type when I check with file command on linux:
$ file --mime-type -b win10.reg
text/plain
- PeteWhiteApr 01, 2020EmployeeMaybe PM me with the detail of the iRule. Essentially, you have to create it as a binary octet stream but of course you can’t normally store that in a text file ie an iRule – you store a hex representation of it. So you would have to store it in the iRule as hex but convert it to binary before you send it to the client. If you store it as an iFile then that can be stored as binary data and does not need conversion prior to sending to the client.