Skip to content

SpeedyFTP v1.0.0

Pre-release
Pre-release

Choose a tag to compare

@Octoblimp Octoblimp released this 02 Dec 22:07
· 8 commits to master since this release

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) or SpeedyFTP.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).