Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ftpsrv Switch

From GameBrew
Revision as of 02:40, 22 December 2024 by Hyatt (talk | contribs)
ftpsrv
Switch-logo.png
General
AuthorITotalJustice
TypeFile Browsers
Version1.1.0
LicenseMixed
Last Updated2024/12/16
Links
Download
Website
Source

ftpsrv is a small, fast, single-threaded FTP server written in C.

It uses no dynamic memory allocation, has very low memory footprint (the size of everything can be configured at build time) and uses poll() (or select() if poll isn't available) to allow for a responsive single threaded server with very low overhead.

There exists 2 builds for the switch, application and sys-module. The application is to be launched via hbmenu, the sys-module runs in the background.

Performance wise, it out performs ftpd (application), sys-ftpd-light (sys-module) and a few other homebrew apps that feature ftp servers, all while having a smaller memory footprint.

Do keep in mind that the sys-module version will perform much slower than the application version due to reducing the amount of memory ftpsrv uses.

User guide

config

The config is located in /config/ftpsrv/config.ini. All releases come with /config/ftpsrv/config.ini.template, as to not overwrite existing configs on each update.

The Nintendo Switch port requires a user and password to be set, or, set anon=1. This is due to security concerns when paired with ldn-mitm as a user could modify your sd card if no user/pass is set.

list of allowed un-authenticated commands

  • USER
  • PASS
  • ACCT
  • REIN
  • QUIT
  • ABOR
  • SYST
  • HELP
  • NOOP
  • FEAT

External links

Advertising: