Skip to content

A Minui app wrapping sftpgo, an sftp server.

License

Notifications You must be signed in to change notification settings

josegonzalez/minui-sftpgo-server-pak

Repository files navigation

minui-sftpgo-server.pak

A MinUI Brick app wrapping sftpgo, an FTP server.

Requirements

This pak is designed and tested on the following MinUI Platforms and devices:

  • tg5040: Trimui Brick (formerly tg3040), Trimui Smart Pro
  • rg35xxplus: RG-35XX Plus, RG-34XX, RG-35XX H, RG-35XX SP

Use the correct platform for your device.

Installation

  1. Mount your MinUI SD card.
  2. Download the latest release from Github. It will be named FTP.Server.pak.zip.
  3. Copy the zip file to /Tools/$PLATFORM/FTP Server.pak.zip. Please ensure the new zip file name is FTP Server.pak.zip, without a dot (.) between the words FTP and Server.
  4. Extract the zip in place, then delete the zip file.
  5. Confirm that there is a /Tools/$PLATFORM/FTP Server.pak/launch.sh file on your SD card.
  6. Unmount your SD Card and insert it into your MinUI device.

Usage

Important

If the zip file was not extracted correctly, the pak may show up under Tools > FTP. Rename the folder to FTP Server.pak to fix this.

Browse to Tools > FTP Server and press A to turn on the FTP server.

This pak runs on ports 21 (FTP) and 8888 (HTTP UI).

The default credentials are:

  • minui:minui

Debug Logging

To enable debug logging, create a file named debug in the pak folder. Logs will be written to the $SDCARD_PATH/.userdata/$PLATFORM/logs/ folder.

Configuration

ftp-port

By default, sftpgo runs the FTP server on port 21. To run it on a different port, create a file named ftp-port in the pak folder with the desired port number as the contents of the file. This will be used on subsequent runs for the port to run the FTP server on.

http-port

By default, sftpgo runs the http ui on port 8888. To run it on a different port, create a file named http-port in the pak folder with the desired port number as the contents of the file. This will be used on subsequent runs for the port to run the http ui on.

password

Creating a file named password will result in the contents of that file being used as the password for the minui user. If not specified, the password is set to minui.