The files and folders of a server#
A CrushMFT server lives in one folder. The program is there, and so is everything the server knows: its settings, users, jobs, keys and records. This page says what each file and folder in it is.
The list is taken from a test server of version 27 and from the server's code. A server shows a file or folder once it has used the part it belongs to; yours may have fewer.
The program#
These come with the download and are replaced by an update. Do not change them.
| File or folder | Is |
|---|---|
CrushMFT.jar |
the server |
CrushLauncher.jar |
the small program that starts the server and checks its files |
plugins/ |
the server's plugins, a .jar each |
plugins/lib/ |
empty in the download. For files of your own: database drivers, plugins that are not the server's. |
WebInterface/ |
the pages: the admin pages and the users' web interface |
release.txt |
the signed list of every program file with its size and checksum. The server checks its files against it at each start. |
CrushMFT.exe, service/ |
Windows: the program you double-click, and the service with its settings and log |
CrushMFT.app |
macOS: the app |
crushmft_init.sh |
Linux and Unix: the start script. Its settings at the top are yours. |
java/ |
optional: a Java for this server alone, if you put one there |
Settings#
| File | Is |
|---|---|
prefs.XML |
all settings of the server: everything in Preferences, ports and plugins included. The server reads it again when it changes. See Every preference key. |
rbac.XML |
the access roles and who holds them: Access roles |
CrushMFT.conf |
macOS: which Java, and how much memory |
service/CrushMFTService.conf |
Windows: the same, and the service's own settings |
cert_pins.txt |
the certificates the server has pinned for outgoing connections: Certificate pinning |
password_blacklist.txt |
optional: passwords nobody may choose |
Users#
| Folder | Is |
|---|---|
users/ |
all users, a folder per connection group |
users/MainUsers/ |
the first connection group, where users are unless you made others |
users/MainUsers/alex/user.XML |
the user alex: only what this user sets for themselves. See Every user field. |
users/MainUsers/alex/VFS.XML, VFS/ |
the user's folders: their rights, and where each one really is |
users/MainUsers/default/ |
the default user, from which all inherit |
users/MainUsers/groups.XML, inheritance.XML |
the groups, and who inherits from whom |
TempAccounts/ |
the open shares: a small account for each. See Temporary accounts. |
With users kept in a database, users/ is not used for them: User Config.
Jobs#
| Folder or file | Is |
|---|---|
jobs/ |
the jobs, a folder each, and folders of jobs |
orchestrator/ |
the part that decides when jobs run: its schedule, its queue, the runs |
engine/ |
the job engine on this machine: its identity, its journal, its own log |
jobs_*.obj |
caches. Made again when missing. |
See Job engines.
Keys#
| File or folder | Is |
|---|---|
ssh_host_rsa_key, ssh_host_ecdsa_key, ssh_host_ed25519_key, each with a .pub |
the server's SSH host keys, made at the first start. SFTP clients know the server by them. |
pgp.keystore, pgp.keystore.deleted |
the PGP key ring and its retired keys: PGP in the browser |
login_key/ |
a key the server made to seal logins in transit |
cluster/ |
this server's own key pair for a cluster: Trust between servers. It is never copied to another server. |
rbac_job.key |
the key jobs are signed with, so that a changed job is noticed |
oidc_server/ |
the signing keys of the server as an identity provider: OIDC Server |
refresh_tokens/ |
stored logins to cloud storage |
| your keystores | wherever you put them. Inside the CrushMFT folder they move with it. |
All of these are secrets. Whoever can read the CrushMFT folder can become the server.
Records and logs#
| File or folder | Is |
|---|---|
CrushMFT.log |
the server's log |
logs/ |
older logs, the logs of sessions (session_logs/), of jobs (jobs/), and the audit record (audit/). See Log files. |
rbac_audit.log |
the record of administration by roles: Auditing |
activity/ |
the record behind the reports, in files: The store on disk |
sessions.obj |
the sessions, kept across a restart |
nohup.out, service/wrapper.log, CrushMFT_launcher.log |
what the server wrote to its output: Linux started by hand, Windows, macOS |
What the server keeps for going back#
| Folder | Is |
|---|---|
backup/prefs0.XML … |
the last 20 versions of the settings |
backup/users/ |
earlier versions of users |
backup/ + a job's name |
earlier versions of jobs |
backup/pgp_…, backup/keystores/ |
earlier versions of key rings and keystores |
backup/updates/ |
earlier versions of the program, kept at updates |
backup/_tmp/ |
working copies of the program files that are in use. The server clears it. |
See Backup and restore.
Made on demand#
| Folder or file | Is |
|---|---|
Preview/ |
the small pictures of files |
s3_staging/, dmz_tmp/ |
parts of transfers on their way |
forms/ |
lists that form fields look choices up in: Custom forms |
thread_dumps/, heap_dumps/, diagnostics/ |
what the dump buttons and the control panel's capture write: Thread dumps and what to send support |
panel_port, panel_auth/ |
how the control panel finds the running server on the same machine |
as2v2_registry.XML, as2v1_usage.XML, as2v2_shadow.XML |
AS2: a copy of the new engine's partners, the journal of the old engine's traffic, and the results of trial runs: Moving from AS2 version 1 |
Small files that give orders#
A few file names act as switches: the server does something when such a file appears in its folder, and removes it. They are how the control panel and the service scripts talk to a running server without a login.
| File | The server |
|---|---|
crushftp_quit |
stops |
crushftp_restart |
restarts |
dump_threads |
writes a thread dump into thread_dumps/ |
Anybody who can make a file in the CrushMFT folder can stop the server this way. That is one more reason to keep the folder to the server's own account.
Not in the folder#
| Where | |
|---|---|
| the users' files | wherever each user's folders point. users/ holds the definitions, not the files. |
| the service | Windows: the system's list of services. Linux: /etc/systemd/system/crushmft.service or the init folder. macOS: the system's daemons. |
| Java | the system, unless you put one into java/ |
| the trust store for outgoing connections | in Java: Java and memory settings |
Rights on the folder#
- The account the server runs as needs to read and write all of it.
- Nobody else needs anything. On Linux: owned by the server's account, closed to others.
- Do not put the CrushMFT folder, or any part of it, into a user's folders, and do not share it on the network.
Things to know#
- The folder is the server. Copy it and you have copied the server, keys included: Moving a server.
- Edit by hand with care.
prefs.XMLanduser.XMLcan be edited with a text editor, and the server reads them again. Keep a copy first; a file that is no longer valid is refused. - Do not tidy. A file you do not know is not waste. Logs and
backup/are the ones that grow; both have settings for how much is kept.