Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Web scraping an online .txt file?

Featured Replies

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

As it's a text file, you could simply import it into a text field and parse the last line from that text field?

  • 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

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.