integrated UIHParser

This commit is contained in:
2026-02-27 15:32:33 +05:30
parent e01cf1346a
commit 45cff45e34
4 changed files with 362 additions and 6 deletions

View File

@@ -79,7 +79,10 @@ class Scheduler:
# Get list of files already processed for this specific bank
bank_processed = repository.get_processed_files(bank_code)
remote_path = f"{self.config.sftp_base_path}/{bank_code}/NACH"
files = sftp_client.list_files(remote_path, pattern=f'ACH_99944_{today_str}*.txt')
ach_files = sftp_client.list_files(remote_path, pattern=f'ACH_99944_{today_str}*.txt')
uih_files = sftp_client.list_files(remote_path, pattern=f'UIH_99944_{today_str}*.txt')
files= ach_files + uih_files
for filename in files:
if filename not in bank_processed: