CrushMFT Documentation

The legacy interface#

Before the API, scripts drove CrushMFT through the same interface as the WebInterface: a form post with command=<name> to /WebInterface/function/, answered with XML or with JSON whose values are all strings. That interface is now called the legacy interface, and in CrushMFT 27:

  • It stays. The WebInterface, the CrushTunnel command line and the client apps keep using it. Three commands are gone in CrushMFT 27, with what they did: importJob (making a job from a file in the job import folder; the API's jobs.import went with it), and setReportSchedules and deleteReportSchedules (the old report schedules: use the report schedule operations of the Reports area; reportSchedules still reads the old ones, so they can be moved from CrushFTP 11).
  • It is frozen for automation. New capabilities for scripts come to the API.
  • It can be closed to scripts, gradually. In Preferences, API, clear Let scripts send admin commands to the legacy interface with a user name and password. An admin command sent there with a Basic header is then refused, with a message that names the API. File transfers, WebDAV, the WebInterface and the CrushTunnel command line are not affected. Nobody is forced to: turn it off once your scripts have moved.

From a command to an operation#

Every operation in this reference names the legacy command it replaces, under Legacy: getUser is GET /users/{group}/{username}, setUserItem is PATCH /users/{group}/{username} (and its relatives), getServerItem is GET /prefs/{section}. Search this wiki for a command name to find its operation.

What changes for a script:

Legacy interface API
POST /WebInterface/function/ with command=getUser&serverGroup=MainUsers&username=bob GET /WebInterface/api/v1/users/MainUsers/bob
Every answer 200 OK; a refusal is the text FAILURE: inside Real status codes and an error with a code
XML documents inside form fields JSON
Every value a string, percent-escaped Booleans, numbers, lists
A password read back for an administrator Never: {"set": true}
No way to try first ?dry_run=true

Commands with no operation#

These stay on the legacy interface only, each for the reason given: most are the WebInterface's own (its login, its page state), the protocols of the client apps and agents, or replaced by an operation of a different shape.

Command Reason
ackd File content. It keeps the paths it has: GET and PUT on the VFS path, and the chunked /U/ and /D/ transfers (the File Transfer API page). The new documentation describes them; nothing is re-implemented. setMetaInfo belongs to the upload it precedes.
addPrivateSSL Each takes a key store path on the server's disk and its password in the request, and exportSSL gives the private key. The ssl.* operations work on key stores registered with the server by name, take key material as PEM in the body, and never give a private key (33 section 27).
addPublicSSL Each takes a key store path on the server's disk and its password in the request, and exportSSL gives the private key. The ssl.* operations work on key stores registered with the server by name, take key material as PEM in the body, and never give a private key (33 section 27).
adminAction:deleteItem File operations on any path of the server's disk, tier 0 until rule S4 confines them (17, C1).
adminAction:duplicateItem File operations on any path of the server's disk, tier 0 until rule S4 confines them (17, C1).
adminAction:newFolder File operations on any path of the server's disk, tier 0 until rule S4 confines them (17, C1).
adminAction:renameItem File operations on any path of the server's disk, tier 0 until rule S4 confines them (17, C1).
agentEngineJoin The job agent's own protocol: the agent's job engine asks for its identity (design/54).
agentQueue The job agent's own protocol.
agentRegister The job agent's own protocol.
agentResponse The job agent's own protocol.
aiAsk The AI assistant's commands for its Preferences panel (design 59). An outside AI client uses the MCP endpoint (mcp.endpoint) instead; the assistant itself reaches the server only through the API's operations.
aiConversation The AI assistant's commands for its Preferences panel (design 59). An outside AI client uses the MCP endpoint (mcp.endpoint) instead; the assistant itself reaches the server only through the API's operations.
aiDecide The AI assistant's commands for its Preferences panel (design 59). An outside AI client uses the MCP endpoint (mcp.endpoint) instead; the assistant itself reaches the server only through the API's operations.
aiHistory The AI assistant's commands for its Preferences panel (design 59). An outside AI client uses the MCP endpoint (mcp.endpoint) instead; the assistant itself reaches the server only through the API's operations.
aiListModels The AI assistant's commands for its Preferences panel (design 59). An outside AI client uses the MCP endpoint (mcp.endpoint) instead; the assistant itself reaches the server only through the API's operations.
aiPrepare The AI assistant's commands for its Preferences panel (design 59). An outside AI client uses the MCP endpoint (mcp.endpoint) instead; the assistant itself reaches the server only through the API's operations.
aiProposals The AI assistant's commands for its Preferences panel (design 59). An outside AI client uses the MCP endpoint (mcp.endpoint) instead; the assistant itself reaches the server only through the API's operations.
aiSetKey The AI assistant's commands for its Preferences panel (design 59). An outside AI client uses the MCP endpoint (mcp.endpoint) instead; the assistant itself reaches the server only through the API's operations.
aiStatus The AI assistant's commands for its Preferences panel (design 59). An outside AI client uses the MCP endpoint (mcp.endpoint) instead; the assistant itself reaches the server only through the API's operations.
aiStop The AI assistant's commands for its Preferences panel (design 59). An outside AI client uses the MCP endpoint (mcp.endpoint) instead; the assistant itself reaches the server only through the API's operations.
aiTestKey The AI assistant's commands for its Preferences panel (design 59). An outside AI client uses the MCP endpoint (mcp.endpoint) instead; the assistant itself reaches the server only through the API's operations.
as2v2_importApply The move from AS2 v1 to AS2 v2 (the scan, the drafts, the switch and its rollback, the shadow comparison), tier 0: the scan reads every log, the stats, the users' folders and every job, and the apply step changes listeners and jobs and finds v1 alias passwords in users' folders. Done by the Administrator, like the user store's migration tools.
as2v2_importLegacy The move from AS2 v1 to AS2 v2 (the scan, the drafts, the switch and its rollback, the shadow comparison), tier 0: the scan reads every log, the stats, the users' folders and every job, and the apply step changes listeners and jobs and finds v1 alias passwords in users' folders. Done by the Administrator, like the user store's migration tools.
as2v2_reopenOutbound Not built: it answers "available in a later phase". It gets an operation when it does something.
as2v2_shadowReport The move from AS2 v1 to AS2 v2 (the scan, the drafts, the switch and its rollback, the shadow comparison), tier 0: the scan reads every log, the stats, the users' folders and every job, and the apply step changes listeners and jobs and finds v1 alias passwords in users' folders. Done by the Administrator, like the user store's migration tools.
blockUploads File content. It keeps the paths it has: GET and PUT on the VFS path, and the chunked /U/ and /D/ transfers (the File Transfer API page). The new documentation describes them; nothing is re-implemented. setMetaInfo belongs to the upload it precedes.
closeFile File content. It keeps the paths it has: GET and PUT on the VFS path, and the chunked /U/ and /D/ transfers (the File Transfer API page). The new documentation describes them; nothing is re-implemented. setMetaInfo belongs to the upload it precedes.
clusterAction The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterCreate The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterDmzLink The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterDmzPair The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterDmzPorts The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterDmzTakeover The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterHistory The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterInvite The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterInviteCancel The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterJoin The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterJoinDecide The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterLeave The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterLocal The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterMemberEdit The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterMembers The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterNewIdentity The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterNewKey The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterNewKeySwitch The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterNode The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterPolicy The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterRemove The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterReplicationPeers The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterRollingUpdate The cluster screen's rolling update (design/62 12.3). It is a long round across servers, started and watched from the screen; an API operation for it is not built yet.
clusterRollingUpdateStatus The cluster screen's view of the rolling update clusterRollingUpdate started (design/62 12.3).
clusterSeedPreview The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterSeedRun The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterSeedStatus The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterSessions The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterStatus The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterTakeover The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
clusterVerify The cluster's commands (design 41 to 45), committed before their operations. Design 43 section 10 plans those operations (task 8.7 of design 45); until they are built these commands are the only way in, and they move from this table to operation rows then.
confirmQR Second-factor enrolment is done by the person, in the browser. A token may never change its issuer's credentials (18, task 5.3).
convertUsers One-time migration tools for the user store, tier 0.
convertXMLSQLUsers One-time migration tools for the user store, tier 0.
deleteReplication Removes a cluster peer, tier 0. Done by an administrator at the server.
deleteSSL Each takes a key store path on the server's disk and its password in the request, and exportSSL gives the private key. The ssl.* operations work on key stores registered with the server by name, take key material as PEM in the body, and never give a private key (33 section 27).
discard Session handling for the browser. The API is authenticated by a header on every request (33, section 6) and has no login call.
download File content. It keeps the paths it has: GET and PUT on the VFS path, and the chunked /U/ and /D/ transfers (the File Transfer API page). The new documentation describes them; nothing is re-implemented. setMetaInfo belongs to the upload it precedes.
dumpHeap A heap dump holds every secret in memory. Tier 0, and a file on the server's disk, not an answer.
emailpassword Flows that start before login or end in a mail link a person follows.
exportSSL Each takes a key store path on the server's disk and its password in the request, and exportSSL gives the private key. The ssl.* operations work on key stores registered with the server by name, take key material as PEM in the body, and never give a private key (33 section 27).
generateCSR Each takes a key store path on the server's disk and its password in the request, and exportSSL gives the private key. The ssl.* operations work on key stores registered with the server by name, take key material as PEM in the body, and never give a private key (33 section 27).
generateSSL Each takes a key store path on the server's disk and its password in the request, and exportSSL gives the private key. The ssl.* operations work on key stores registered with the server by name, take key material as PEM in the body, and never give a private key (33 section 27).
get_oauth_session_state OAuth consent redirects through a browser.
getC2F Session handling for the browser. The API is authenticated by a header on every request (33, section 6) and has no login call.
getCrushAuth Session handling for the browser. The API is authenticated by a header on every request (33, section 6) and has no login call.
getCrushSyncPrefs The sync client's own protocol.
getCSRF Session handling for the browser. The API is authenticated by a header on every request (33, section 6) and has no login call.
getCustomForm Custom forms shown to a person.
getFipsUserMarks FIPS mode's marks in User Manager's list (design 61 sections 6.4 and 7.6): which users of a group FIPS mode refuses a login of, for that one page. An API client reads the users and their catalog rows from GET /server/fips and the account calls.
getJobEngine The job engines' commands (design 40, cbb8054c), committed before their operations. When they get operations they move from this table to operation rows.
getJobEngines The job engines' commands (design 40, cbb8054c), committed before their operations. When they get operations they move from this table to operation rows.
getJobQueue The job engines' commands (design 40, cbb8054c), committed before their operations. When they get operations they move from this table to operation rows.
getLastUploadError File content. It keeps the paths it has: GET and PUT on the VFS path, and the chunked /U/ and /D/ transfers (the File Transfer API page). The new documentation describes them; nothing is re-implemented. setMetaInfo belongs to the upload it precedes.
getLoginKey Session handling for the browser. The API is authenticated by a header on every request (33, section 6) and has no login call.
getPasswordRulesForToken Session handling for the browser. The API is authenticated by a header on every request (33, section 6) and has no login call.
getPreview File content. It keeps the paths it has: GET and PUT on the VFS path, and the chunked /U/ and /D/ transfers (the File Transfer API page). The new documentation describes them; nothing is re-implemented. setMetaInfo belongs to the upload it precedes.
getQR Second-factor enrolment is done by the person, in the browser. A token may never change its issuer's credentials (18, task 5.3).
getSessionTimeout Session handling for the browser. The API is authenticated by a header on every request (33, section 6) and has no login call.
getSyncAgents The sync client's own protocol.
getSyncTableData The sync client's own protocol.
getTunnels The tunnel client's own protocol.
getUiMap The map of the admin screens for the admin pages' own search (design 59 section 15): what our own pages show, read from the WebInterface folder. It is of use to those pages only; the AI assistant searches the same map with its ui_search tool.
getUploadStatus File content. It keeps the paths it has: GET and PUT on the VFS path, and the chunked /U/ and /D/ transfers (the File Transfer API page). The new documentation describes them; nothing is re-implemented. setMetaInfo belongs to the upload it precedes.
getUserName Session handling for the browser. The API is authenticated by a header on every request (33, section 6) and has no login call.
importReply Each takes a key store path on the server's disk and its password in the request, and exportSSL gives the private key. The ssl.* operations work on key stores registered with the server by name, take key material as PEM in the body, and never give a private key (33 section 27).
importUsers Imports from a path on the server's own disk (other servers' user files, folders, macOS users). The owner decided on 2026-11-16 that an import is in the API only with its data in the call: users.import takes the users as a list or as CSV text and saves each one as users.create does.
isOpen File content. It keeps the paths it has: GET and PUT on the VFS path, and the chunked /U/ and /D/ transfers (the File Transfer API page). The new documentation describes them; nothing is re-implemented. setMetaInfo belongs to the upload it precedes.
jobEngineAction The job engines' commands (design 40, cbb8054c), committed before their operations. When they get operations they move from this table to operation rows.
listSSL Each takes a key store path on the server's disk and its password in the request, and exportSSL gives the private key. The ssl.* operations work on key stores registered with the server by name, take key material as PEM in the body, and never give a private key (33 section 27).
login Session handling for the browser. The API is authenticated by a header on every request (33, section 6) and has no login call.
loginDomain1 Session handling for the browser. The API is authenticated by a header on every request (33, section 6) and has no login call.
loginSettings Session handling for the browser. The API is authenticated by a header on every request (33, section 6) and has no login call.
logout Session handling for the browser. The API is authenticated by a header on every request (33, section 6) and has no login call.
lookup_citrix_api_code OAuth consent redirects through a browser.
lookup_dropbox_api_code OAuth consent redirects through a browser.
lookup_form_field Custom forms shown to a person.
lookup_gdrive_api_code OAuth consent redirects through a browser.
lookup_google_mail_api_code OAuth consent redirects through a browser.
lookup_microsoft_graph_api_code OAuth consent redirects through a browser.
lookup_oauth_api_code OAuth consent redirects through a browser.
messageForm Custom forms shown to a person.
migrateUsersVFS One-time migration tools for the user store, tier 0.
newJobEngineCode The job engines' commands (design 40, cbb8054c), committed before their operations. When they get operations they move from this table to operation rows.
openFile File content. It keeps the paths it has: GET and PUT on the VFS path, and the chunked /U/ and /D/ transfers (the File Transfer API page). The new documentation describes them; nothing is re-implemented. setMetaInfo belongs to the upload it precedes.
pgpGenerateKeyPair Writes a new key pair as files to a path on the server's disk that the request names, with a password from the request (rule S4). pgp.generate makes the key pair in the server's key ring instead, through addPGP.
pluginMethodCall Calls any method of any plugin: an untyped remote call, tier 0.
purgeSync The sync client's own protocol.
register_citrix_api OAuth consent redirects through a browser.
register_dropbox_api OAuth consent redirects through a browser.
register_gdrive_api OAuth consent redirects through a browser.
register_google_mail_api OAuth consent redirects through a browser.
register_oauth_api OAuth consent redirects through a browser.
renameSSL Each takes a key store path on the server's disk and its password in the request, and exportSSL gives the private key. The ssl.* operations work on key stores registered with the server by name, take key material as PEM in the body, and never give a private key (33 section 27).
request_reset Flows that start before login or end in a mail link a person follows.
reset_password Flows that start before login or end in a mail link a person follows.
saveRefreshToken OAuth consent redirects through a browser.
savetext File content. It keeps the paths it has: GET and PUT on the VFS path, and the chunked /U/ and /D/ transfers (the File Transfer API page). The new documentation describes them; nothing is re-implemented. setMetaInfo belongs to the upload it precedes.
saveUserDefinedCustomVFS An end user gives the server a URL to connect to (17, C8). Left to the WebInterface until the storage and endpoint guards are in enforce.
selfRegistration Flows that start before login or end in a mail link a person follows.
sendSyncCommand The sync client's own protocol.
setEncryptionPassword One-time set-up of the preferences encryption password, tier 0.
setMetaInfo File content. It keeps the paths it has: GET and PUT on the VFS path, and the chunked /U/ and /D/ transfers (the File Transfer API page). The new documentation describes them; nothing is re-implemented. setMetaInfo belongs to the upload it precedes.
setPreview File content. It keeps the paths it has: GET and PUT on the VFS path, and the chunked /U/ and /D/ transfers (the File Transfer API page). The new documentation describes them; nothing is re-implemented. setMetaInfo belongs to the upload it precedes.
siteCommand FTP SITE commands over the web: a second, untyped command channel.
sitePlugin FTP SITE commands over the web: a second, untyped command channel.
startTunnel2 The tunnel client's own protocol.
startTunnel3 The tunnel client's own protocol.
stopTunnel2 The tunnel client's own protocol.
stopTunnel3 The tunnel client's own protocol.
supportSession Support session, started by an administrator in the WebInterface (design 15).
syncCommandResult The sync client's own protocol.
syncConflict The sync client's own protocol.
taskResponse Custom forms shown to a person.
telnetSocket An interactive raw socket from the server to any host.
testDB Take a JDBC driver class and a driver jar path from the request and load them (17, C2). Tier 0.
testQuery Take a JDBC driver class and a driver jar path from the request and load them (17, C2). Tier 0.
unblockUploads File content. It keeps the paths it has: GET and PUT on the VFS path, and the chunked /U/ and /D/ transfers (the File Transfer API page). The new documentation describes them; nothing is re-implemented. setMetaInfo belongs to the upload it precedes.
updateStatus The About page's view of the update state, the versions kept and the unsigned jars; the API has these in server.update.get (design/62 13.3).
upload File content. It keeps the paths it has: GET and PUT on the VFS path, and the chunked /U/ and /D/ transfers (the File Transfer API page). The new documentation describes them; nothing is re-implemented. setMetaInfo belongs to the upload it precedes.
upload_0_byte File content. It keeps the paths it has: GET and PUT on the VFS path, and the chunked /U/ and /D/ transfers (the File Transfer API page). The new documentation describes them; nothing is re-implemented. setMetaInfo belongs to the upload it precedes.
verifyEmail Flows that start before login or end in a mail link a person follows.
verifyEmailConfirm Flows that start before login or end in a mail link a person follows.
webauthnRegisterBegin Second-factor enrolment is done by the person, in the browser. A token may never change its issuer's credentials (18, task 5.3).
webauthnRegisterFinish Second-factor enrolment is done by the person, in the browser. A token may never change its issuer's credentials (18, task 5.3).