rivet Posted October 13, 2010 Posted October 13, 2010 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?
Steven H. Blackwell Posted October 13, 2010 Posted October 13, 2010 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
rivet Posted October 13, 2010 Author Posted October 13, 2010 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.
Steven H. Blackwell Posted October 14, 2010 Posted October 14, 2010 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
Wim Decorte Posted October 14, 2010 Posted October 14, 2010 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.
Recommended Posts
This topic is 5152 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