NetTalk Central
		NetTalk Web Server => Web Server - Ask For Help => Topic started by: Rene Simons on January 12, 2012, 12:58:29 AM
		
			
			- 
				Hi,
 
 After I have uploaded an XML-file to a folder, I would like to process the data in that file using XFiles.
 - Do I have to create a windows-window (non-display) to be able to use Xfiles.
- When I call the procedure, do I have to use the start command?
- Can I pass the p_web parameter when I use the START command?
 
 Cheers,
 Rene
- 
				Hi Rene,
 
 You don't need a window structure for xFiles - so you can just make a simple source procedure that does the work you want. You certainly can pass it the p_web parameter if you want to (it's just a parameter like any other.)
 
 I wouldn't call it on a new thread, rather I'd do it at the end of the WebHandler, at any point after the reply to the browser has been sent.
 
 ie
 p_web.replycomplete()
 myWhatever(p_web)
 
 cheers
 Bruce
 
 
- 
				I seem to recall uploading an example of xFiles and NTWS in the examples forum. It was a long time ago, but worth a dig.