You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.
During periods of no activity some vendor systems create zero-byte files that PayGate needs to process and delete. These files will not properly parse as incoming/returned files and need to just be deleted, however zero-byte files might exist during the middle of a transfer from the ODFI's side. We don't want to delete these files right away, but after they've been sitting on the remote machine for a while (e.g. 10m by default).
Similar to KeepRemoteFiles: <boolean> I think we want a configuration to remove these outside of that option.
We need to either write the ctime/mtime from the server (only viable on unix systems) or stat the remote file and decide then. I believe the FTP library we use doesn't support STAT, but our sftp library does. We could leverage just the SFTP side for now.
PayGate Version:
v0.9.0-dev
During periods of no activity some vendor systems create zero-byte files that PayGate needs to process and delete. These files will not properly parse as incoming/returned files and need to just be deleted, however zero-byte files might exist during the middle of a transfer from the ODFI's side. We don't want to delete these files right away, but after they've been sitting on the remote machine for a while (e.g.
10m
by default).Similar to
KeepRemoteFiles: <boolean>
I think we want a configuration to remove these outside of that option.These files would be removed as part of
transfers/inbound
'scleanup.go
file: https://github.com/moov-io/paygate/blob/v0.9.0-dev1/pkg/transfers/inbound/cleanup.goThe text was updated successfully, but these errors were encountered: