How to retrieve a file from a server via SFTP?

后端 未结 16 1581
萌比男神i
萌比男神i 2020-11-22 07:48

I\'m trying to retrieve a file from a server using SFTP (as opposed to FTPS) using Java. How can I do this?

16条回答
  •  南方客
    南方客 (楼主)
    2020-11-22 08:16

    Andy, to delete file on remote system you need to use (channelExec) of JSch and pass unix/linux commands to delete it.

提交回复
热议问题