简体   繁体   中英

Can I use Java to upload file to AWS S3 from SMB

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)

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 (ie SMB --InputStream--> Your app --OutputStream--> S3).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM