wouters Posted March 6, 2009 Posted March 6, 2009 Hi There! I'm trying to write a Rumpus user file with filemaker server. What I've done is the following: - fill the records with needed info, if anything is added/changed it sets a "global check field". - filemaker server checks every minute if the field is set and if so run the a script. - the script then exports the user file. now first of all i'm wondering whether i'm on the right track, and if it is indeed not possible to trigger the server script from a client. and then secondly i need to move the users file to the rumpus folder. What is the best way to do this? Can anyone point me in the right direction? Thanx! Wouter
bcooney Posted March 6, 2009 Posted March 6, 2009 Global check field? Each user has their own globals, so server won't see another user's global check field. You'll need to set a field that is not a global. Where's the rumpus folder? What's rumpus, lol...?
bcooney Posted March 6, 2009 Posted March 6, 2009 Just googled Rumpus. It's Yale's humor magazine. It's also an ftp file transfer solution. Why not use FTPeek? or another FM FTP plug-in?
wouters Posted March 6, 2009 Author Posted March 6, 2009 HI bcooney, thanx for your reply! yeah i did not mean global as in global variable. I've created a "system" database which contains a field "update needed". The reason i would like to use Rumpus (http://www.maxum.com/Rumpus/) is that we run a server which is used by our customers to download and sometimes upload files. Rumpus provides web and ftpaccess which we really like to provide. everything seems to work except that i have to copy the file from the documents folder to "/usr/local/Rumpus". the people from rumpus suggest i use a shell script but i can't really find any info on shell scripts in filemaker server. Thanx!
bcooney Posted March 6, 2009 Posted March 6, 2009 I'm not well-versed in shell scripts either, but that does seem like a good approach, provided you won't run into permission issues. Anyone?
Steven H. Blackwell Posted March 7, 2009 Posted March 7, 2009 it is indeed not possible to trigger the server script from a client. You cannot directly do this, no. And I'd keep inbound FTP stuff off my FileMaker Server. Steven
bcooney Posted March 7, 2009 Posted March 7, 2009 Why would he need to trigger a server script from the client, anyway? Just setting a pref field would allow a scheduled script to catch the need to process whatever. I'm not sure what he's creating and where his destination path is. Hopefully the FMS is not a ftp server...
wouters Posted March 11, 2009 Author Posted March 11, 2009 Thanx. I agree running the ftp on the same server is not a good idea. unfortunately my boss doesn't agree (yet). For now i just did it like i said. set a field if the shell script should be triggered. it seems to work quite well. thanx!
Recommended Posts
This topic is 5735 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