NotePage, Inc. Forum Index

sendpage32 - how create unique meaningful filenames

 
Post new topic   Reply to topic    NotePage, Inc. Forum Index -> PageGate Support
View previous topic :: View next topic  
Author Message
scottwade314



Joined: 23 Aug 2006
Posts: 3

PostPosted: Wed Aug 23, 2006 9:12 am    Post subject: sendpage32 - how create unique meaningful filenames Reply with quote

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
View user's profile
Tech Support



Joined: 25 Aug 2003
Posts: 4405

PostPosted: Wed Aug 23, 2006 10:57 am    Post subject: Reply with quote

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
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    NotePage, Inc. Forum Index -> PageGate Support All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
Theme created by Vjacheslav Trushkin