File reference
Files and directories installed, created and used by Riversoft® STCP Gemini Server. Paths are those of the default installation; configurable items show the parameter that sets the location.
Files
| File | Location | Format | Description |
|---|---|---|---|
stcpserver | /usr/local/bin/ | Executable | Riversoft STCP Gemini Server. See Operation. |
stcpserver.config.json | /usr/local/stcp/configs/ | JSON | Server configuration, created from the template. See Configuration. |
example-stcpserver.config.json | /usr/local/stcp/configs/ | JSON | Server configuration template. |
stcplang.json | /usr/local/stcp/configs/ (ApplMsgFileName) | JSON | Log message catalog in the ptb, enu and esp languages. See Message and event codes. |
stcpgemini-server.service | systemd unit directory | systemd unit | Server service. The example-stcpgemini-server.service template is in /usr/local/stcp/configs/. |
example-stcpgemini-server.initd | /usr/local/stcp/configs/ | Script | Startup script template for systems without systemd. |
example-stcplibs-x86_64.ld.so.conf | /usr/local/stcp/configs/ | Text | Shared library directories (/usr/local/lib and /usr/local/lib64). Copy it to /etc/ld.so.conf.d/ and run ldconfig. |
| License file | Set in ApplLicense | License | Product license, provided by Riversoft. |
stcpserver.pid | /var/run/ (ApplPidFile) | Text | Running process number. |
| Lock files | /usr/local/stcp/control/ (ApplLockDir) | — | Instance execution and concurrency control. |
stcplog-events.jsonl | $TMPDIR/stcplog-spool/ or /tmp/stcplog-spool/ | JSON Lines | Log contingency spool. See Monitoring and auditing. |
The Riversoft STCP Gemini API and Riversoft Console Portal files are listed in Configuration.
Data directories
The data directory (DataDirectory, default /usr/local/stcp/data) is the root of the mailbox directory structure. Each user has their mailbox at <DataDirectory>/<instance>/<user>/, used the same way by Riversoft STCP Gemini and Riversoft STCP DirectLink. Directory names are defined in the instance configuration, in the Riversoft Console Portal:
| Directory | Parameter | Contents |
|---|---|---|
entrada | InboxDirectoryName | Received files. |
entrada/restart | RestartDirectoryName | Restart information for interrupted transfers. |
saida | OutboxDirectoryName | Files to transmit and, in Riversoft STCP DirectLink, available for download. |
saida/backup | BackupDirectoryName | Files already transmitted or downloaded. A file can go back from backup to saida to be retransmitted. |
saida/pendente | PendingDirectoryName | OFTP protocol EERP control: reception confirmations waiting to be sent. |
saida/link | LinkDirectoryName | Files available by secure link in Riversoft STCP DirectLink. If the parameter is not set, the name link is used. |
controle | ControlDirectoryName | Transfer control files, such as EERP, NERP and locks. |
formato | FormatDirectoryName | Format definitions applied to files. |
temp | TempDirectoryName | Temporary files. |