It is possible to download a file without additional packet with this message on http://192.168.1.1/ubus
{ "jsonrpc" : "2.0", "id" : 1, "method" : "call", "params" : ["file", "read", {"path" : "PATH OF THE FILE"}]}
And to upload one with this message on http://192.168.1.1/ubus
{ "jsonrpc" : "2.0", "id" : 1, "method" : "call", "params" : ["file", "write", {"path" : "PATH OF THE FILE", "data" : "File data as String"}]}
However, data must be string as it is not encoded.