MRH Posted January 16, 2007 Posted January 16, 2007 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
Ano Nimus Posted January 19, 2007 Posted January 19, 2007 As it's a text file, you could simply import it into a text field and parse the last line from that text field?
MRH Posted January 19, 2007 Author Posted January 19, 2007 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
Recommended Posts
This topic is 6574 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now