Send multiple files with S3TransferManager without physical directory
Does anyone know how can I send multiple files (as a file list MutableList that I populate within a loop) using the S3TransferManager method uploadDirectory without needing to create the files physically on my disc?
It does't need to use uploadDirectory method, but I don't want to save them on disc before send them to S3, I have them on memory and I'd like o keep it that way. Here is my code block so far:
val s3Request = PutObjectRequest.builder()
.bucket(bucket)...