简体   繁体   中英

Transfer files between Linux ec2 instance and windows ec2 instance programatically

I want to send a file from linux instance to windows instance. Then after processing that file in windows instance, i have to send the file back to the linux instance. I am using java in both the ends. What is the best way to accomplish this?

最简单,最经济高效的方法是创建一个Amazon Elastic Block Store ,将其附加到两个实例,然后通过持久化磁盘执行所有文件I / O操作。

You can use samba on the linux OS.

  1. Shared a directory on the Windows OS
  2. Allow the linux IP to access on this (read and write)
  3. Mount this directory on the linux with samba

Then you can read and write file on the Windows OS now.

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