0

I want to directly upload file from SMB to S3(AWS) use Java. Could you give me some advice to fix this issue. (Not download to local and upload to S3)

devbetter
  • 1
  • 2

1 Answers1

0

You can get an InputStream from the SMB File object, and an OutputStream to the S3 bucket File. This will however traverse through your own machine (i.e. SMB --InputStream--> Your app --OutputStream--> S3).

Hiery Nomus
  • 17,429
  • 2
  • 41
  • 37