pulling all files, loopitem doesn't seem to limit (wodFtpDLX / wodFtpDLX.NET)
Hi
I'm trying to only pull certain files from a site
so, I'm executing, the section below in the connected event
in_dir = capp_directory + 'jpmc\import\'
out_dir = '/Outbound/Encrypted/'
ole_ftp.object.getfiles(in_dir, out_dir, 1 )
then, I'm trying to limit what's pulled in the loopitem
if (match(remotefile,'DOCCTS.EFS.ACK2') = true) then
file_array[nbr_ftp_files] = remotefile
nbr_ftp_files = nbr_ftp_files + 1
Skip = false
else
skip = true
end if
It seems to be recording the proper files in the file_array
but, I'm still getting ALL the files downloaded
to the in_dir
Am I doing something wrong here?
I'm doing this in powerbuilder, and I have everything else working except this
Complete thread:
- pulling all files, loopitem doesn't seem to limit - scots, 2014-01-30, 20:07
- pulling all files, loopitem doesn't seem to limit - wodSupport, 2014-01-30, 21:35
- pulling all files, loopitem doesn't seem to limit - scots, 2014-01-31, 18:13
- pulling all files, loopitem doesn't seem to limit - wodSupport, 2014-01-31, 18:16
- pulling all files, loopitem doesn't seem to limit - scots, 2014-01-31, 18:45
- pulling all files, loopitem doesn't seem to limit - wodSupport, 2014-01-31, 18:16
- pulling all files, loopitem doesn't seem to limit - scots, 2014-01-31, 18:13
- pulling all files, loopitem doesn't seem to limit - wodSupport, 2014-01-31, 18:48
- pulling all files, loopitem doesn't seem to limit - scots, 2014-01-31, 18:58
- pulling all files, loopitem doesn't seem to limit - wodSupport, 2014-01-31, 18:59
- pulling all files, loopitem doesn't seem to limit - scots, 2014-01-31, 19:12
- pulling all files, loopitem doesn't seem to limit - wodSupport, 2014-01-31, 18:59
- pulling all files, loopitem doesn't seem to limit - scots, 2014-01-31, 18:58
- pulling all files, loopitem doesn't seem to limit - wodSupport, 2014-01-30, 21:35