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.

Featured Replies

I have a shell script that works on my local mac via terminal

"curl -s -T /Users/me/Desktop/Pictures/test.png ftp://id:[email protected]"

I have saved it on the Filemaker server

filename: ftp_upload.sh (unix LF, Unicode UTF-8)

directory: Filemaker Server/Data/Scripts/

I have created a FMS schedule to run the file, but it is unsuccessful.

Am I missing something?

Does the script have permissions to perform the action on the target destination? Probably not, since FMS scripts run inside the FMS bubble. In Server 11 you can use the Run As capability.

Steven

  • Author

Thanks Steven, you mentioned 'Run As'. If I understand correctly, I have switch the Account that runs the script to the admin account, still no luck.

Sorry, this is completely new territory for me.

Admin account for what? FIleMaker Pro, the FMS Admin Console, or what? it needs to be an Account that has privileges for r/w on the target destination where you're sending the file to reside.

Steven

A couple of things:

- is this supposed to run as part of a script sequence FMS schedule?

- don't pick any location that is part of a user profile: the FMS schedules should run in a headless state with no users logged in so pick a more generic location and test again

- make sure that fmsadmin/fmserver has write privileges on the folder that you pick, or schedule the FMS schedule with alternate credentials that have write access.

Create an account or sign in to comment

Important Information

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

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.