change name of return files for EFT Canada batches, #16252
authorMark Wells <mark@freeside.biz>
Tue, 30 Oct 2012 22:53:51 +0000 (15:53 -0700)
committerMark Wells <mark@freeside.biz>
Tue, 30 Oct 2012 22:53:51 +0000 (15:53 -0700)
FS/bin/freeside-eftca-download

index 702a80c..d54a724 100755 (executable)
@@ -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) {