Finding file size and last modified of SFTP oldest file using Java

前端 未结 4 1633
悲哀的现实
悲哀的现实 2020-12-20 23:03

I\'m using JSch to get files from an SFTP server, but I\'m trying to figure out a way to only get the oldest file, and to make sure that it is not currently being written to

4条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-20 23:52

    I don't have a direct answer to your question, but it sounds like you want to do something similar to reliable file transfer. This is part of a larger project in Grid computing that is now apparently organized here. I don't know if it includes security features or if you can add them on, but it is an open source project.

提交回复
热议问题