Repository navigation
Releases
DSi FTP 1.0.0-beta.4
DSi FTP 1.0.0-beta.4
Faster uploads, one fix and a built-in speed test.
- Uploads are about twice as fast: about 700-800 KB/s to the SD card, up from about 350 KB/s. A 512 MB file now takes roughly 11 minutes instead of 24. Two things changed: while receiving, the server no longer waits for the next screen frame before reading again, and it is built with a patched copy of the Wi-Fi library (DSWiFi) that has a larger TCP receive window. Download speed is unchanged, about 600 KB/s.
- Transfers no longer stop working after a few abandoned connections. A client that opened a data connection and left without transferring anything (for example when asking for a file that is not there) left a socket open on the DSi. After four of them every transfer was refused with
425 Cannot open the data portuntil the app was restarted. - Built-in speed test. A transfer from or to the name
.dsiftp-speedtest, in any folder, does not touch the SD card: it sends 32 MB of zeros or discards what it receives, so the Wi-Fi link can be measured on its own. See "Transfer speed" in the README. - Building:
build.shnow downloads the BlocksDS source, appliespatches/dswifi-1.25.0-dsiftp.patchand builds the patched library by itself, without modifying the installed BlocksDS. The patches are included in this archive.
Tested on a real DSi, one console and one router: uploads and downloads of 24, 48 and 128 MB compared byte for byte with the original, and 16 abandoned data connections in a row followed by normal transfers.
Not fixed: downloads stay at about 600 KB/s. Sending faster than that still freezes the console, and the cause has not been found, so the server keeps the pace that is known to be stable.
Known issue: the first Wi-Fi connection attempt can occasionally get stuck while searching; the automatic retry connects.
SHA-256 of dsi-ftp-nand-sd-1.0.0-beta.4.zip:
0C92383CE9CA3C625B97451EB77781C9ED325D88CED0F8463D616ED188F94FD9
DSi FTP 1.0.0-beta.3
DSi FTP 1.0.0-beta.3
One fix. Updating is recommended for everyone: beta.1 and beta.2 can freeze while downloading files of a few MB.
- Downloads no longer freeze the console. The DSi could lock up in the middle of a download and had to be switched off: the transfer stopped, the screen stopped updating and the console dropped off the network. It happened at random, usually within a few downloads of 4 MB. On the DSi one processor runs both the SD/NAND driver and the Wi-Fi driver, and it hung when it was asked to send a packet while it was reading from the card. DSi FTP now holds outgoing packets back for the few milliseconds a card request takes. Speed is unchanged.
Tested on a real DSi: 50 downloads of 4 MB in a row with no freeze (before the fix, one froze within the first 8 every time), plus uploads and downloads of 4 MB and 16 MB checked with SHA-256. About 600 KB/s down and 350 KB/s up, on one console and one router.
Not fixed: the cause inside the Wi-Fi/SD drivers of the SDK was not located; DSi FTP only avoids the situation that triggers it.
Known issue: the first Wi-Fi connection attempt can occasionally get stuck while searching; the automatic retry connects.
SHA-256 of dsi-ftp-nand-sd-1.0.0-beta.3.zip:
6A320F2BB0B3A665CF6869867B4817AA6149CEEE82FDDBC979C07B7F60781D42
DSi FTP 1.0.0-beta.2
DSi FTP 1.0.0-beta.2
Four fixes for data safety. Updating is recommended for everyone using beta.1.
- Failed uploads no longer empty the file. The file is created or truncated only after the data connection is up. Before, a blocked passive port (for example by the Windows firewall) left an existing file at 0 bytes.
- NAND backups are verified. The backup is copied under a temporary name and gets its final name only when it is complete and as long as the original, so an interrupted copy can never pass for a backup. The journal now tells apart "original intact", "nothing written" and an original left as
.dsiftp.old. - Resumed uploads are refused.
RESTfollowed bySTORused to overwrite the file with only its tail; it now returns an error. Send the whole file again.APPEon the SD still works. - Stricter NAND names. Names the filesystem reads differently from how they are written (ending in a dot or a space, or containing
\,:or~) are refused on the NAND, so they cannot be used to reach a protected path. If you ever need such a name, setnand_strict_names=0in_nds/dsiftp/settings.ini.
Tested on a real DSi: all four fixes, a provoked backup failure and a provoked rename failure. Not tested: a restore that fails after the rename (it needs two consecutive NAND write errors).
SHA-256 of dsi-ftp-nand-sd-1.0.0-beta.2.zip:
0F12D8B1ABACCB7529F207414C68D898C734245A69A14B2DAA8EB0B45682F76C
DSi FTP 1.0.0-beta.1
First public beta of DSi FTP: an FTP server for the Nintendo DSi that exposes the internal NAND and the SD card over Wi-Fi (WPA2).
Install: copy dsiftp.dsi to the SD card and start it in DSi mode (Unlaunch or TWiLight Menu++). On the PC open ftp://<address shown on the DSi>.
Highlights
- DSi-mode Wi-Fi with WPA2, saved networks, DHCP or static IP
- NAND read-only by default; protected write mode can only be enabled on the DSi itself, with automatic backups of every changed file
- Login with a random PIN or user/password, login lock per client address
- Interface in 8 languages: English, Italiano, Español, Français, Deutsch, Русский, 中文, 日本語
Please note
This is a beta: tested on one EUR DSi and one router. Read the README (NAND writing, security notes, what has been tested) before use. Report problems in Issues; if you attach log.txt, remove your MAC address and Wi-Fi network names first.
The archive contains the ROM, the documentation and all third-party licence texts.