We are switching from AS400 platform to Windows based for all applications, including EDI. We know how to generate our X12 transaction sets and have tested successfully with two financial institutions. Windows based solution uses FTP.
We have one customer who must go through a VAN. With the AS400 we would send/receive one file and the VAN broke out to whom the data would be sent based upon ISA record. That option is not available to us when we switch to FTP.
Our script is similar to:
Script to get our file
get NameOfFile.TXT c:\Folder\FileName.txt
Script to send a file
Our problem is that our customer could send multiple files and our VAN says we will have to "Get" the files by file name. I kind of understand that we could use "MGET" but then how could we control processing unknown file names after receiving the file(s).
Are you having troubles getting multiple files from the FTP site?
Or are you having troubles processing those files through the VAN after getting the files?