Hi,
I want to upload a (potentially) large set of bytes from a client (B4J and B4I) to a B4J http server.
So far I found that a PostBytes method, but it seems this requires a byte array. So I guess the entire set of bytes should be in memory before uploading.
If I would use a PostFile I would first need to store the bytes in a local file.
Isn't there something like a PostOutputStream, so that I can use a stream to write the bytes to be uploaded to ?
I would need such a thing both for uploading from an iOS device as well as a B4J client.
Thanks
I want to upload a (potentially) large set of bytes from a client (B4J and B4I) to a B4J http server.
So far I found that a PostBytes method, but it seems this requires a byte array. So I guess the entire set of bytes should be in memory before uploading.
If I would use a PostFile I would first need to store the bytes in a local file.
Isn't there something like a PostOutputStream, so that I can use a stream to write the bytes to be uploaded to ?
I would need such a thing both for uploading from an iOS device as well as a B4J client.
Thanks