SFTP monitor remote directory

0 votes
asked Sep 20, 2016 by Prabhakar (630 points)

How does the SFTP client monitor a change (new file addition or removal) in remote directory of SFTP server. Some libraries(like crushftp) provides that feature. Can Rebex support this feature as well?

Applies to: Rebex SFTP

1 Answer

0 votes
answered Sep 20, 2016 by Tomas Knopp (58,890 points)

SFTP protocol has no built-in support for this task. The best way to solve it is periodically perform a Sftp.GetList operation and compare it with the state before.