Originally posted by Michael Lacriola
Has anyone ever configured a TPS directory parse for files on a remote system? For example, I often use a tps proc that grabs files of a certain extension local to my unix system and then adds them to the outbound list. This works great for fileset-local protocols.
If my protocol is Fileset-FTP, which connects to a remote unix system and reads files from that directory, how can I grab a list of those files to validate the extension? Do I need to use the "ls" command within the tps directory parse to grab the file names? For local files I use the glob command to get the list of potentials and do some other checking on the file before adding it to the list to be returned.
Any ideas would be appreciated. I'll keep digging.