Basics - reading/writing remote files using Java

前端 未结 4 1778
闹比i
闹比i 2020-12-05 16:47

I started with requirement of reading and writing files in from/in a directory on a remote Ubuntu machine.

First, I wrote a Java program that could read,write files

4条回答
  •  猫巷女王i
    2020-12-05 17:09

    We used sshfs. You can add to /etc/fstab the line:

    sshfs#user@remoteAddress:remoteDir /mnt/ssh fuse defaults 0 0

    and then mount /mnt/ssh

提交回复
热议问题