Skip 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.

How can I delete a file several layers deep?

Featured Replies

I want to use Applescript to delete the access log file in my web folder. I am using FileMaker 7. I would like to be able to import the access log and then delete it. I cannot figure out how to import the file with applescript as the access log file is saved with a .log extension.

Any insight on this would be greatly appreciated.

Thanks

Joe Mele

Sure you want AppleScript when your OS is Win XP? No AppleScript needed, if you simply overwrite the log file with an empty file. However, you will have to suspend web sharing for the moment the file is opened/overwritten, becuse the file is locked otherwise. (And where would log entries go when there is web activity in the instant of file deletion?)

You can import the file into a container, then export any empty field as text file (export all values..)

  • Author

The log files are automatically re-created. The log files can grow to be quite large, and if you delete the access log and the application log, they are automatically re-created from scratch. I have just removed them and then started IWP and two new files have taken their place.

I would just like to have a path on the mac that will allow me to automatically delete these files. I understand that IWP would need to be suspended while this occurs.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.