diff options
-rwxr-xr-x | FS/bin/freeside-eftca-download | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/bin/freeside-eftca-download b/FS/bin/freeside-eftca-download index 702a80ca1..d54a724ab 100755 --- a/FS/bin/freeside-eftca-download +++ b/FS/bin/freeside-eftca-download @@ -82,7 +82,7 @@ foreach my $agent (@agents) { $sftp->setcwd('/Returns'); - my $files = $sftp->ls('.', wanted => qr/^ReturnFile/, names_only => 1); + my $files = $sftp->ls('.', wanted => qr/\.txt$/, names_only => 1); die "no response files found\n" if !@$files; FILE: foreach my $filename (@$files) { |