January 16, 200719 yr Can anyone help… Background: I have a plain text file on a server that is updated regularly by a datalogger (it can't be altered in any way) & I want to read the last line (I can work that out). The FileMaker file is going to be IWP. Problem: I've tried using the WebViewer to load the .txt file which it does eventually but it really has to think about it, then using the calculation (result as text, unstored) GetLayoutObjectAttribute ( "WebData" ; "content" ) it doesn't return the content although when the same calc is referencing a web page it returns the html code. Am I going about this the wrong way? Is there an easier way that may not even use the WebViewer? And can you help. Thanks in advance. Mark
January 19, 200719 yr As it's a text file, you could simply import it into a text field and parse the last line from that text field?
January 19, 200719 yr Author Thanks for the reply - Ano Nimus, Yeah - I've already done that but the FileMaker file is going to be IWP. (Internet Web Published) and the "import file" is not supported by IWP. Also when the file is viewed via web even the html code doesn't even show up…so I'm really having trouble now. I need a work around to import a .txt or .xls file directly into a web hosted FileMaker file, so the file can scrape the data run calculations etc… automatically. Thanks anyway. Tired… Mark
Create an account or sign in to comment