Repository navigation
Releases
SpeedyFTP v1.0.5 - Initial Release
The first full release of SpeedyFTP, an FTP server for the 3DS built on ftpd that keeps big transfers moving.
Highlights
- Fast, steady uploads. About 2.4 MiB/s over Wi-Fi on real hardware. Disk writes run on their own thread, so a slow SD card write no longer drops the speed to 0 B/s.
- Parallel transfers that don't take the console down. Up to 4 connections at once; more wait their turn instead of exhausting the 3DS's socket memory. Tested on hardware with 1, 2, 4 and 8 uploads at once, every file intact.
- Recovers from network hiccups. A failed
accept()orpoll()no longer drops every session or leaves the port dead (ftpd #221, #223). A data connection that runs short of socket memory retries instead of failing with 425. - Checksums.
XCRCandHASH(CRC32) check a file without downloading it (ftpd #120). - Listings survive bad dates. Corrupt file dates list as 1970 instead of breaking FileZilla and WinSCP (ftpd #201).
- START asks first while a transfer is running (ftpd #122).
- STOU works, and reports the name it picked.
- "226 OK" means the file is on disk, and canceled transfers stop right away and can be resumed.
- Clients always get their goodbye. Under load, ftpd could throw away the reply to
QUITwhile it was still queued, leaving the client waiting for a timeout. SpeedyFTP now finishes closing the connection properly first. (Tested on a PC build; everything else here was also tested on a 3DS.) - L/R scroll the log and X jumps back to the newest lines. New icon and banner. FBI shows the version.
Files
| File | SHA-256 |
|---|---|
| SpeedyFTP.cia | 426f40e980b80ff6b4142f93457726f752be4a8050b2179a1e753c6c869012b5 |
| SpeedyFTP.3dsx | c86c4379a582d62317a45aea56ae486af7d5365330d460779c03551ace62ae20 |
Install the CIA with FBI (or use the QR code below), or put the 3dsx in /3ds/. Settings are shared with ftpd (/config/ftpd/ftpd.cfg), and the port is 5000.
SpeedyFTP v1.0.3
Canceling a transfer from your PC now actually stops it on the 3DS.
What changed
- Cancels are detected. FileZilla cancels a transfer by hanging up its connection. SpeedyFTP now notices that, ends the transfer and removes the session, and logs
Transfer canceled: client disconnected. - No freeze after a cancel. Data already received still gets written to the SD card so the upload can be resumed, but now in the background. Before, the whole server waited for the SD card, which on a slow card could take 10+ seconds.
- Resume is accurate. If a client asks about a file that's still being finished (SIZE, or resuming the upload), SpeedyFTP waits until it's done, so the resume starts at the true size.
Tested on a PC with a simulated slow SD card. After a cancel, a new connection was served in under 20 ms while about 4 MiB of buffered data finished writing. The resumed file matched byte for byte, and the full test suite passed. This hasn't been tested on a 3DS yet.
From v1.0.1/1.0.2: uploads at about 2.5 MB/s over the network (measured on hardware), and the top bar reads SFTP v1.0.3 [ip]:port.
Files
| File | SHA-256 |
|---|---|
| SpeedyFTP.cia | 7e0f14d54a69ccb35b57c5d49eca38bf2804d4b0ee1aa12138df8ee362d256ad |
| SpeedyFTP.3dsx | 8751a595e75a2ff4dae8d9944206e7cb0577277b85758e75c58906f7dc69b9e8 |
Install the CIA with FBI, or put the 3dsx in /3ds/.
SpeedyFTP v1.0.2
The 3DS title bar now reads SFTP v1.0.2 [ip]:port. The short name keeps the version on screen without running into the clock and free-space text. Everything from v1.0.1 is included: full-speed uploads (60 KiB socket buffer), no overlap, and the settings path fix.
Files
| File | SHA-256 |
|---|---|
| SpeedyFTP.cia | 89f3bb333ad8d8a2dcc585fe2d4dd36a8fa5e902762ce6e8f130e67b6609b331 |
| SpeedyFTP.3dsx | 740e4131a50671f6b636c4d11ba30ba0bf97c381fc3fe01813a9fd39ef0228ca |
Install the CIA with FBI, or put the 3dsx in /3ds/. This is a pre-release until it has been checked on hardware.
SpeedyFTP v1.0.1
Fixes the slow uploads that v1.0.0 still had on real hardware.
What changed
- Uploads run at full speed. v1.0.0 gave the 3DS a 256 KiB socket buffer. The 3DS network stack accepts that size, then uploads crawl at 13–70 KiB/s. I tested buffer sizes on a live console: 0xF000 (60 KiB) and 0x8000 (32 KiB) both hold about 2.5 MB/s, and anything at or above 64 KiB collapses. The buffer is now 0xF000.
- No more top-screen text overlap. The title bar drops the version number (it's still in About and the HOME Menu), and the clock drops seconds. The title and the clock / free-space text now have room.
- Settings save to the right place again. The build was turning
/config/ftpd/ftpd.cfginto a Windows path, so the 3DS never found its settings file.
Files
| File | SHA-256 |
|---|---|
| SpeedyFTP.cia | e6791b207d065a2587a70eafb4363a56ea6ae09d3940fececb01b20a89a0dffe |
| SpeedyFTP.3dsx | 0857f9029fb6b048cba287eb147eae2ca709d68c45408b51f9748de20bcbb201 |
Install the CIA with FBI, or put the 3dsx in /3ds/. This is a pre-release until it has been checked on hardware.
SpeedyFTP v1.0.0
SpeedyFTP v1.0.0, transfers that keep moving
ftpd, rebuilt for big files. Stock ftpd's speed swings from 1 MB/s down to 0 B/s and back, whatever your signal strength. SpeedyFTP keeps the transfer moving.
Why ftpd stalls, and what changed
- ftpd writes to the SD card on the same thread that reads the network. One slow SD write and nobody reads the socket, so your PC stops sending and backs off: 0 B/s. SpeedyFTP does the SD work on its own thread through a 2 MiB buffer, so the network never waits on the card.
- The FTP thread now runs ahead of the on-screen UI instead of behind it. On a New 3DS the SD work gets the third CPU core to itself.
- Bigger network buffers: up to 256 KiB per transfer instead of 32 KiB.
Safer uploads
- "226 OK" now means the file is fully on the SD card. A full card is reported as an error instead of a success.
- If an upload is cut off, everything received so far is kept, so your client can resume it.
Install
SpeedyFTP.cia(FBI) orSpeedyFTP.3dsx(Homebrew Launcher). The CIA has its own title ID, so it installs alongside ftpd. It uses the same port (5000) and settings as ftpd.- For big files, use binary mode and one transfer at a time.
Tested so far: on a PC, with a simulated slow SD card: the same upload stalled 22 times on ftpd and never on SpeedyFTP, and every file matched byte for byte. It has not been tried on real 3DS hardware yet, so this is a pre-release.
Files
| File | SHA-256 |
|---|---|
| SpeedyFTP.cia | 4ea8fee78ce016df970c983bb6d9b1747cfe4d99906ac23b7feadcadeeb5eaec |
| SpeedyFTP.3dsx | 893d91dcea63411f85946da57e3318852a8051ecec7ba7abadaa854142b4bc2e |
Based on ftpd v3.2.2 by Michael Theall, Dave Murphy and TuxSH (GPLv3).