Jump to content

Remote Administration? Oh really.....How!!!


pengil2k
 Share

This topic is 7549 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Well, here goes....You can't technically "start" or "stop" a database from the web through Web Companion because in order to do that you would have to have access to the Multi-User sharing capabilities of FMP. With that said, the obvious way to "stop" or "start" a database remotely is to "open" or "close" the database using: "-DBOpen" and "DBClose" since a database is only shared when it is open. Here is the complete info for the commands...

What it does

Closes a database on the FileMaker host machine from a remote browser.

The -DBOpen and -DBClose actions tags would only use the -db variable tag for the name of the database and the partial path before FMPro? in the URL to determine on which database to apply the action. The database administrator will have to have remote administration privileges and the database to be closed must be in the Web folder. A format file is required to be specified in the URL in order for -DBOpen to be processed.

For security reasons, it is important to use the Remote Administration Requires Password option, otherwise users can close your database without an Administrator password.

Syntax example(s)

Close a database with a URL

HTTP://thehost.com/FMPro?-Db=Employees.fp5&-format=aFormatFile.htm&-DbClose

HTTP://thehost.com/asite/onlineordering/FMPro?-Db=main.fp5&-format=aFormatFile.htm&-DbClose

Other tags that are required

-DB, -format

Link to comment
Share on other sites

  • Newbies

OK big guy, you've done me a good service. I've actually been able to close a database using a browser and the "-DBclose" tag. But (of course there's a but) I haven't as yet been able to use "-DBopen" to start one up, what gives? I moved the files I'm testing to the 'Web' directory, setup multi-user access with the appropriate uid/password combos and still nothing on the "-dbopen" front. Any other clues?

Thanks, E.

quote:

Originally posted by jwtidwell:

Well, here goes....You can't technically "start" or "stop" a database from the web through Web Companion because in order to do that you would have to have access to the Multi-User sharing capabilities of FMP. With that said, the obvious way to "stop" or "start" a database remotely is to "open" or "close" the database using: "-DBOpen" and "DBClose" since a database is only shared when it is open. Here is the complete info for the commands...

What it does

Closes a database on the FileMaker host machine from a remote browser.

The -DBOpen and -DBClose actions tags would only use the -db variable tag for the name of the database and the partial path before FMPro? in the URL to determine on which database to apply the action. The database administrator will have to have remote administration privileges and the database to be closed must be in the Web folder. A format file is required to be specified in the URL in order for -DBOpen to be processed.

For security reasons, it is important to use the Remote Administration Requires Password option, otherwise users can close your database without an Administrator password.

Syntax example(s)

Close a database with a URL

Other tags that are required

-DB, -format

Link to comment
Share on other sites

This topic is 7549 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Similar Content

    • By puterco
      I have published my database using CDML pages and I want each web address field to act as a link witch goes directly to the address contained in the field. Example of the HTML code on the search results page:
      [FMP-FIELD: email] *how can I link this field to act as "mailto://(value in the field)"

      [FMP-FIELD:web-address] *how can I link this to act as "http://(value in the field)"
      Any help will be highly appreciated the dead line for these pages were yesterday and I need to get these features online as soon as possible. Thanks...
    • By OSXS
      Dear all:
      I am facing the following problem: I am setting up a www-interface using CDML for the first time. I get the behavior I want, and everything works fine.
      But there's one big question: In the CDML reference, I cannot find any tags that allow authentication of users using the FM-database built-in access privileges.
      Any ideas?
      Cheers,
      Ron
    • By wayne
      I can't get auto-filled data to appear in a new record.htm so the user can see the info for those fields. After the record is submitted the info is there correctly but it doesn't show in the new record.htm. I've tried to use the cdml tag:
      [FMP-Field artNumber] in a textbox and not in a textbox as is used for the display. My guess is it's not accessing the dB in order to display this info only the field names.
      Thanks
      Wayne
    • By OSXS
      Hello all:
      Sorry if this has been discussed before, but I haven't found an answer to the problem so far. Here it is:
      I have a db created in FMP 5, and its shared as Entry Only in the Web Companion. In IE 5 and 4 on Mac and Win, the Entry Only layout works. On Netscape (Mac, Win I haven't tried yet) I get a short attempt to build the Entry Only layout, wich terminates prematurely, and then builds a List View layout, which allows full manipulation of the data. This is exactly what I don't want!! I need a 'data drop box' without further access to data for web users. The described problem occurs when connecting to FMPro Unlimited directly, or when connecting via FMWSC on OSXS.
      Any hints would be highly appreciated!
      Cheers, and look out for OSX! It's sleek and fast!
      OSXS
    • By SteveK
      I have set up an Apache Web server running on a Mac OS X server and I have installed the Filemaker web connector. After following the instructions I have been asked to type the URL http://127.0.0.1/FMPro?config to set up the web connector on the server. When I type this I get the message "Not found. The reported URL/FMPro was not found on this server. Can anyone help.
  • Who Viewed the Topic

    1 member has viewed this topic:
    Nico Kobes 
×
×
  • Create New...

Important Information

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