Skip to content

SW2Transfer 1.4.0

Choose a tag to compare

@Rodpad Rodpad released this 17 Nov 23:02
· 36 commits to main since this release

First release of SW2Transfer: a multi-connection file transfer and file management server for the Switch 2 (hbmenu under kaiHEN).

Upload to Switch Download from Switch
SW2Transfer, 8 connections (default) 51 MB/s 43 MB/s
SW2Transfer, 1 connection 28 MB/s 21 MB/s
FTP (kaiHEN ftpd) 8.6 MB/s 9.5 MB/s

Measured with a Mac and the Switch 2 both on Wi-Fi, moving a 256 MB file.

Install

Copy sw2transfer.nro to sdmc:/switch/sw2transfer/ and launch it from hbmenu, then open the address it shows (http://<switch-ip>:6967) in a browser on the same network.

Features

  • Web page: upload files and whole folders (drag and drop), download, each file split across several connections
  • File management: sortable Name / Size / Created / Modified columns, new folder, rename, delete, multi-select copy and move with a folder picker
  • Cancel all transfers and copies from the web page, the Switch (X twice) or the command line; unfinished uploads and copies are cleaned up
  • sw2xfer.py command-line client (Python 3; Mac, Linux, Windows): upload, download, ls, mkdir, rm, mv, cancel, logout, bench
  • Switch screen with live speed, per-file progress and help (Y)

Password protection

Password protection is off by default: until you set a password, anyone on your network can read, change or delete files on the SD card while the app is open.

  • Press − on the Switch to set a password with the on-screen keyboard (twice, to confirm); press − again and leave it blank to remove it.
  • The web page and sw2xfer.py then ask for it, and stay signed in for 12 hours. sw2xfer.py logout and the page's Sign out end it early; SW2XFER_PASSWORD supplies it to scripts.
  • Changing or removing the password signs everyone out. After 5 wrong passwords in a row, sign-in is refused for 30 seconds.
  • Only a salted hash is stored. Traffic is plain HTTP, so this keeps people on your network out; it is not protection on an untrusted network.

Check downloads with shasum -a 256 -c SHA256SUMS.