charlesfouquet
charlesfouquet

Reputation: 1

How to delay preMove for each file detected using SFTP?

I have the following situation: I need to add a 30 second delay everytime a file is detected by a SFTP route. The route is as follows for now:

sftp://username@host:port/path/to/import/directory
?password=password&moveFailed=/path/to/error/directory
&move=/path/to/success/directory
&preMove=/path/to/inProgress/directory
&delay=30&initialDelay=30&useFixedDelay=true&timeUnit=SECONDS

How should I do if I want the 30 second delay to be applied independently to the detection of each file? For example:

Thanks so much in advance!

Tried everything I could find

Upvotes: 0

Views: 61

Answers (0)

Related Questions