vishbaan
29th March 2004, 13:13
URGENT : I want to read the files in a directory
dear fnds,
this thread on ottdllfilehand helped me a lot.
But I have a problem.
We have a file pool directory in the baan server. Text files will keep coming in to this directory from many POS systems remote.
I dont know the file name; First I want to a fetch a file from this directory and use that file for appending a baan table and then move the file to another archive folder (move.file() helps here) and then move on to next file.
How to fetch a file from a pre-defined directory one by one using the program script. Can "ottdllfilehand" help? I dont know the file name, I want to read the directory and obtain the files one by one, HOW DO I DO THAT?
any work-arounds, suggestions pls.
Best regards
VISH
dear fnds,
this thread on ottdllfilehand helped me a lot.
But I have a problem.
We have a file pool directory in the baan server. Text files will keep coming in to this directory from many POS systems remote.
I dont know the file name; First I want to a fetch a file from this directory and use that file for appending a baan table and then move the file to another archive folder (move.file() helps here) and then move on to next file.
How to fetch a file from a pre-defined directory one by one using the program script. Can "ottdllfilehand" help? I dont know the file name, I want to read the directory and obtain the files one by one, HOW DO I DO THAT?
any work-arounds, suggestions pls.
Best regards
VISH