Hi,
I am making a software in which I have to transfer files from a computer to another. I am using RPC to do this. I have problem with large files (not too large actually).
On my xdr I've declared the file content as an opaque type with variable length. I'v also tried with fixed length and for both I have encoding issues when the data transfered is too big (larger than 9000 octets).
Code:
struct import_args {
opaque file<>;
};
Is there a limit for arguments length with RPC ? Is it configurable ?
Or do I have to call the RPC many times with each time a small part of the file till transfering all the file's data?
Thanks.