Help

Table Of Contents
Command line reference fmsadmin commands
F
ILEMAKER SERVER 9 HELP 176
CLOSE command
Format
fmsadmin CLOSE [FILE...] [PATH...] [options]
Description
Closes the specified files (FILE) or all the hosted files in the specified paths (PATH). If no FILE or
PATH is specified, closes all hosted files.
Note If you want to close a specific file, you must type a space between any options and the
filename or file ID. For example,
Options
-m message, --message message
Specifies a text message to be sent to the client
that is being disconnected.
-t seconds, --grace-time seconds
Specifies the total number of seconds to wait before forcing disconnection of clients. The default
(and minimum) value is 120 seconds.
For example, if you type
fmsadmin close --grace-time 120
clients see a dialog box immediately and can click Close Now or Cancel. If the client does not
click a button, the file closes in 30 seconds. If the client clicks Cancel, the dialog box will
reappear 45 seconds before the specified time limit (120 seconds). If the client clicks Close
Now at this point, the file closes immediately. If the client clicks Cancel again, the file closes
after another 45 seconds.
-f, --force
Forces a database to be closed without a prompt for confirmation.
Related topics
DISCONNECT command (page 178)
OPEN command
(page 182)
STOP command
(page 189)
Command line reference
(page 171)
Command Result
fmsadmin close -y Database Closes only the specified file.
fmsadmin close -y Closes all hosted files.