NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: lkeyser on January 22, 2015, 02:07:12 AM
-
Hi Everyone
I’m generating pdf reports on a nettalk webserver and it works fantastic.
My client has requested for reasons unknown to myself that each report generated must be duplicated and saved somewhere else on the disk with a Unique file name.
I tried to “catch” the report when it generates in the web\reports folder and copy it somewhere else.
My Problem
Where in the embed code can I add the code to copy the generated reports from “web\reports\$$$Reportname.pdf” to “web\archive\datevalue+reportname.pdf”
I have tried to use the LOC:url session value to get the path to copy, but don’t seem to work.
Thanks
Louis
-
Good Question Louis. I think I'll address it in the webinar today. (starting in 10 minutes.)
cheers
Bruce
-
Ok, question answered in Webinar #50 here;
http://www.capesoft.com/accessories/NetTalkUserGroup.htm
The best place to embed code is in WebHandler, in RemoveOneServe method, before the parent call.
(The delete takes place inside the Parent call of RemoveOneServe.)
cheers
Bruce
-
Thanks Bruce
Piity I couldnt attend the Webinar.
Regards
Louis
-
yeah, it's easier to answer follow up questions if you are there, but the recording is uploaded so you can watch the few minutes of that if you like.
cheers
Bruce