- This topic has 0 replies, 1 voice, and was last updated 15 years, 10 months ago by .
I’m in need of help in ftp’ing a file. Currently, the ftp script will go to the directory that I want but here is where I need help. The file name has an incrementing number combined with alpha characters.
For example todays file is
abc_d12345.dat and tomorrows file is abc_d12346.dat . In addition the directory does not remove previous days files.
What I was interested in doing is getting the largest numberd file and by possibly using string range strip the alpha characters, compare the numbers to the previous days saved variable, verify that it is larger and then process it through the engine.
I’m thinking that one way to invoke tcl within my script to use string range is by using Tcl_CreatePipline. I am having trouble understanding how it works.
Messages are in HL7 format
Currently ftp’ing to Unix box but that changes to AIX on Feb 20th.
I would be very open to other possible solutions and if you need other infomation please let me know.
Thanks in advance for all your help.
- The forum ‘Cloverleaf’ is closed to new topics and replies.