|Applies To||sftpagent 3.7|
|Issue||how to delete a pos file automatically|
|Cause||There is an undocumented feature to allow control of when/if pos files get deleted automatically|
|Resolution||1. edit the sftpagent.conf file|
This entry will delete the .pos file every two minutes.
1. agent.poscleaninterval=<time spec> - The default value is 0, which means that the POS dir will have to be manually cleaned.
2. The value can be configured here to be in seconds (1-s), minutes (1-min), hours (1-h), days
3. (1-d), weeks (1-w) or years (1-y), the maximum being 1 year, or equivalent value
4. in other units. If exceeded, will be set to default cleaning interval 1 year.
|Legacy Article ID||a52134|