1 File Management
Frank Harris edited this page 2026-06-20 12:37:36 -05:00

File Management

GSP file handling is spread across several modules.

Relevant Modules

  • Panel/Panel/modules/litefm/
  • Panel/Panel/modules/ftp/
  • Panel/Panel/modules/editconfigfiles/
  • Panel/Panel/modules/backup-restore/

Practical Notes

  • File operations should stay within the intended game home or configuration directories.
  • The Panel should not touch game home files during settings-only Workshop config copy operations.
  • Blank config file paths are valid in some Workshop workflows and should skip file editing entirely.

Source Clues

  • remote_readfile() and remote_writefile() are used to move file contents through the agent.
  • read_server_config() is used to read XML config files.

TODO

  • Add specific file-management workflows and constraints once the module-by-module audit is complete.