Jump to content

jamesatfish

Newbies
  • Posts

    1
  • Joined

  • Last visited

Everything posted by jamesatfish

  1. Rich, From my memory of the Server 7 instructions, there is a command line equivilent for every command you can run from the Server Admin GUI under OS X. Which means you can use the wonders of shell scripting and cron jobs on your OS X machine to perform the task you are suggesting: 1. Have users FTP their database to a particular location on your server 2. Create a shell script (use your fav shell language, or even AppleScript if you want) that does the following: a. Search a given folder (the FTP location) for files b. If a file is found, set a variable to the filename c. Issue command to filemaker server daemon to close the database named with the variable you just set (lookup the FM Server Admin book for the commands you can use) d. Copy the database from the FTP location to the FM Server location. If you're shell scripting don't use 'mv' - use 'ditto -rsrc' as that will copy the resource fork of the FM database as well as the data fork. e. Issue a command to the FM Server daemon to open the database f. Delete the uploaded database from the FTP location 3. Create a cron job to run that script as a background task every so often (eg every 5 mins?) Voila - you should have a system that clients can FTP a FM Database to, and that database will automatically be updated on the server within 5 minutes. I've been pretty vague with my step descriptions, but if you need more specifics for any section of the scripting etc let me know and I'll try to be of more help. Hope that gets you somewhere. James
×
×
  • Create New...

Important Information

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