Skip to content

FTP Server

fosterbarnes edited this page Oct 30, 2026 · 2 revisions

Transfer files between a PC and the SD card over Wi-Fi. The server is ftpd by Michael Theall, built into FTB.

Connect

  1. Open FTP Server. FTB connects to Wi-Fi and starts the server.
  2. The bottom screen shows the address, for example ftp://192.168.1.20:5000.
  3. In an FTP client on the same network (FileZilla, WinSCP, or another), connect to that address and port. With no login set, any user name works, so anonymous login is fine. With only a password set, any user name works with that password.

You can also connect to 3ds-ftpd.local instead of the IP address if your PC resolves .local names (mDNS). The name is the Hostname setting.

The server runs only while the FTP Server screen is open. Leaving the screen stops it and ends any transfer. Closing the lid keeps Wi-Fi up, and the console does not sleep while the server is connected.

The screen

  • Top screen: the server log, under a status line with the ftpd version, the address, and the login (Login: none, the user name, or Login: password when only a password is set).
  • Bottom screen: one box per connected client with its address, state, the current file, bytes moved, speed, and a speed graph.
Key Action
D-Pad Scroll the log: Up/Down one line, Left/Right one page
SELECT Turn the screens' backlight off or on, to save battery during long transfers
Y Menu: Settings, Upload Log, About
B Stop the server and go back

SELECT toggles the backlight only when pressed alone, so the Rosalina menu combo (L + D-Pad Down + SELECT) never turns the screens off.

Settings

Y > Settings:

Setting Default What it does
User empty (no login) User name clients must send
Password empty (none) Password clients must send
Hostname 3ds-ftpd mDNS name: clients can connect to <hostname>.local
Port 5000 Port the server listens on (1-65535)
Deflate Level 6 Compression level (0-9) for clients that ask for compressed transfers (MODE Z)
Get mtime On Listings show each file's real modified time. Off makes big folders list faster.
  • Apply uses the settings until FTB closes.
  • Save uses them and writes them to sdmc:/ftb/ftpd.cfg.
  • Reset to Defaults fills in the defaults; Apply or Save to use them.
  • B cancels.

These settings can only be changed on the 3DS. FTP clients cannot change them. Applying settings disconnects existing clients so they must reconnect with the current login.

Wildcard NLST listings are not supported. Clients should request a folder listing and filter the names locally.

Security

Warning

By default there is no login: anyone on your network can read, change, and delete everything on the SD card while the server runs. On a network you do not trust, set a user and password first. FTP is not encrypted, so the login and files are sent in plain text, and the password is stored in plain text in sdmc:/ftb/ftpd.cfg.

  • Clients only reach the SD card. Paths cannot leave it, and NAND is never exposed.
  • In active mode (PORT), the 3DS only connects back to the client's own address.
  • In passive mode (PASV), a data connection must come from the client's own address. A different address fails that transfer; the client must request PASV again.

Upload Log

Y > Upload Log sends the log to pastie.io, for sharing in a bug report. FTB asks first. The log holds client addresses and file paths, and anyone with the link can read it. The link appears in the log when the upload finishes. Nothing else is ever uploaded.

Clone this wiki locally