View previous topic :: View next topic |
Author |
Message |
scottwade314
Joined: 23 Aug 2006 Posts: 3
|
Posted: Wed Aug 23, 2006 9:12 am Post subject: sendpage32 - how create unique meaningful filenames |
|
|
Hello. I have a question about sendpage32 and the polling folders. I have an app that is using sendpage32 and saving the files to the polling folder. My app needs to know the status of the page by looking at the good and bad subfolders. However, there is no way to know what file to check since all start with tmp-.... Is there a way to create a filename that I can associate with the page from the app? I know the extension changes to an unique number but that doesn't help me. Since we have multiple pages that can go out the same time, I cannot rely on the last file in the process, good, or bad folders.
thanks,
Scott
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4405
|
Posted: Wed Aug 23, 2006 10:57 am Post subject: |
|
|
There are two options, really.
You could try parsing the information out of the GetAscii log file but that might be a little cumbersome and more trouble than it's worth.
The second option is that you could have your program write out the .asc files instead of running the sendpage32 command, that way you could name the files whatever you want, instead of relying on the automatic naming scheme of the sendpage command.
|
|
Back to top |
|
|