Repository navigation
3DS Web Server
Send files and links to the 3DS, and download files from its SD card, with a browser on a phone or PC on the same Wi-Fi.
Open 3DS Web Server in the main menu. While it is open, the top screen shows the page's address,
for example URL: http://192.168.1.20/, and a QR code of it. Scan the code with a phone camera, or
type the address into any browser on the same network. The page uses port 80, or 8080 when 80 is
taken; when both are taken the top screen says so.
FBI's PC tools (servefiles.py, sendurls.py, Boop) send to
Other FBI Legacy > Receive URLs over the network instead.
Without Wi-Fi the top screen shows Waiting for WiFi... and 3DS Web Server starts listening once the console connects. The bottom screen lists what happened, newest first: devices allowed or declined, files installed, saved, sent, skipped, or failed, and batches you declined.
B leaves 3DS Web Server. During a transfer (upload or download), B cancels it instead.
3DS Web Server devices in Settings decides when the 3DS asks
Allow 192.168.1.20 to use 3DS Web Server? before a phone or PC browses, downloads, or sends:
| Setting | Yes lasts |
|---|---|
| Ask once (default) | For good: the 3DS remembers that browser, even after a restart or an address change |
| Ask each session | Until 3DS Web Server closes |
| Allow all | Never asks: every device on the network gets in |
No blocks the device until 3DS Web Server closes, so a page that retries cannot keep asking. Opening the page itself never asks. While the 3DS waits for an answer, the page shows "Waiting for the 3DS: approve this device there if it asks."
The page gives each browser a random key in a cookie; Ask once remembers that key in
sdmc:/ftb/webDevices.cfg (up to 32 browsers, the oldest dropped first). Clearing the browser's
site data, a different browser, or opening the page by another address (IP or .local name) asks
again. Settings > Forget 3DS Web Server devices makes every browser ask again.
Up to 16 devices can be allowed and 16 declined while the screen is open; after that, close and reopen 3DS Web Server.
Approving a device is separate from confirming uploads.
The page has two tabs: Send to 3DS and Download from 3DS. The Send to 3DS tab shows the SD card like an FTB list on the 3DS top screen: the path on top, the folders and files of the open folder, and the SD card's free space at the bottom. Tap a folder to open it and .. to go back. Files and saved links go to the open folder. The page remembers the tab and the last folder of each.
| Sent | Add files, drop, Save links | Install CIA, Install links |
|---|---|---|
| CIA | Saved to the folder | Installed straight from the network, with no copy on the SD card |
Ticket (.tik, .cetk) |
Saved to the folder | Installed as a ticket |
| 3DSX | Saved to the folder | Saved to sdmc:/3ds/<name>/<name>.3dsx
|
| Any other file | Saved to the folder | Saved to the folder |
| Link (URL) | Downloaded into the folder | Downloaded and installed like Remote Install |
- Add files picks files and saves them in the open folder.
- On a PC, drop files or folders on the SD list to save them there. A dropped folder keeps its layout under the open folder.
- Install CIA picks CIA, ticket, and 3DSX files and installs them.
Sending starts as soon as the files are picked or dropped, after the checks below and the 3DS's confirmation. The list refreshes when the batch ends.
Paste one or more links and press Save links (into the open folder) or Install links. A
saved link is named after the last part of its address: https://example.com/dl/a%20b.cia?x=1 saves as
a b.cia. A link with no file name in its address cannot be saved, and two links that would save
under the same name are refused.
Before anything is sent, the page asks the 3DS what already exists and shows what it found:
- Already on the SD card: files or saved links whose name is taken in the folder. Replace overwrites them.
-
Already installed (Install CIA): CIAs whose title is installed, with the installed and the
sent version, and 3DSX files whose
/3ds/<name>/<name>.3dsxexists. Reinstall sends them anyway.
Skip these sends the rest, and Cancel sends nothing.
Warning
Reinstalling a CIA deletes the installed copy first, as FBI does. Its save data may be deleted too: back it up with Checkpoint first.
Installed links cannot be checked ahead, so for them the 3DS itself asks, in red, before reinstalling a title that is already installed, unless the sender is trusted. A CIA whose header the page cannot read is not checked and installs over the old title without asking.
The console asks once per batch, for example 192.168.1.20 sends 6 files (2.1 GiB). Install 2, save 4 to /3ds/. The top screen lists the first names. Declining sends nothing.
Accept uploads without asking in Settings skips this question for every approved device, and trusted devices never get it.
Warning
With Accept uploads without asking on, every approved device (every device on the network with
Allow all) can install titles and write files to the SD card while 3DS Web Server is open. A batch
that writes boot.firm or anything under luma or Nintendo 3DS always asks, in red.
With Allow all, or with Ask once for a browser the 3DS already remembers, sends and installs from that browser run without any prompt on the 3DS:
- no batch confirmation,
- no "already installed, reinstall?" question for installed links,
- no "intended for New 3DS systems" question on an Old 3DS,
- no Success popup when the batch ends (the 3DS log and the page still show every result).
Still asked or shown on the 3DS: the red warnings (writes to boot.firm, luma, or
Nintendo 3DS, and system titles when System Changes is on), and the failure
popup when something in the batch failed. Devices allowed with Ask each session keep every
prompt.
- Open the Download from 3DS tab. The SD card's folders and files load the first time it opens; this is when the 3DS asks to approve the device, if it has not yet.
- Tap folders to open them and .. to go back.
- Tick files, or Select all files. The button shows how many and their total size.
- Press Download. Each file is its own browser download, one after another; the 3DS top screen shows the progress, and B cancels the current file.
Browsers may ask to allow multiple downloads from the page, and iPhones ask once per file. Folders cannot be downloaded whole, hidden files and folders are not listed, and a folder with more than 4000 entries cannot be listed (use the SD File Browser or the FTP Server).
A saved file is written as <name>.part and gets its real name only when every byte has arrived, so
a cut transfer never leaves a short file behind. Each file must be under 4 GiB, the largest file the
SD card's FAT32 format holds, and one batch holds up to 1000 files or 128 links.
3DSX and SMDH installs also finish downloading to a .part file before replacing the destination.
A new transfer discards an existing matching .part file. If a final 3DSX/SMDH copy fails, its
complete .part file is kept, though the destination may be damaged by that SD error.
CIA and ticket installs follow the System Changes lock, the same as every other install.
Links can also come from a script:
curl -H "X-FTB: 1" -H "Content-Type: application/json" -d '{"links":["https://example.com/a.cia"],"install":true}' http://<3DS IP>/offer.
Without "install":true the links are saved to "dest" (default /). Unless Allow all is on,
the 3DS asks to approve the script's computer on its first request; a script sends no device key, so
the approval lasts until 3DS Web Server closes.
- The 3DS serves one request at a time: during an upload, a download, or a prompt on the 3DS, the page waits.
- One sender at a time. A second sender gets "Busy" until the first batch is done.
- After a batch is accepted, the sender has 30 seconds to start sending; a sender that stops for 10 seconds is dropped.
Home · README · Releases · Something wrong on this page? Open an issue
Get started
Screens
- CIA Installer
- Title Manager
- SD File Browser
- 3DS Web Server
- FTP Server
- Remote Install
- FBI Legacy
- Settings
Reference
Help
Contributing