Jump to content
Sign in to follow this  
pengil2k

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

Recommended Posts

OK,

I've looked several places for this info and have been frustrated to no end. Can someone please tell me how to start and stop a database remotely (via the web) when using FMPro 5 Unlimited and the Web Companion!!!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • 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 kwatson
      Does anyone know how to allow users to input graphics into a database posted on the web? Home Page tells me container fields won't work.
    • By Randy Abulon
      Has anyone tried the connector on Windows 2000 and had some success with it? The company I work for just got FMPro5 Unlimited, but we mostly a Win2K shop; including the intranet server... How do I make it work?
    • 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 pem
      Does portals work i www mode?
      I have a field in a portal that works in filemaker but not in www mode. In filemaker it
  • Who Viewed the Topic

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

Important Information

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