cathery / sys-ftpd

Nintendo Switch FTP server as a background service (sysmodule)
GNU General Public License v3.0
241 stars 14 forks source link

Error 11 when trying to sFTP #25

Open mattiacolombomc opened 1 year ago

mattiacolombomc commented 1 year ago

Hello, I set my username and password via the config.ini. Launched the sysmodule via Tesla, and then tried to connect via STP. When the connection is being established, the Switch returns the following error: file-path length is too large: err=11 no more processes and then, also, my sFTP client (Mountain Duck on macOS) says the connection is refused. This is my sFTP client configuration: CleanShot -19 -01-2023 at 11 01 07

The strange thing is that I set port "5000" on the config.ini, but when going in Album > Netloader my local IP address and the port 28280 (instead of 5000) is shown!

impeeza commented 1 year ago

You can not use S FTP because the S indicate what your communication will be encapsulated on to SSH protocol, and SYS-FTPD is a FTP protocol only.

Also you can not use FTP S because that makes the FTP protocol encrypted using SSL and the servers doesn't support it.

You can ONLY use FTP protocol, plain and old, no encryption, no certificates no SSH.

I don't know too much about your FTP client but seems it have a list of protocols, select plain FTP.

Going to "Album" (HBL) and then Netloader, is a completely different thing, on that mode you can send a Homebrew to the console using a PC program called nxlink (https://switch.homebrew.guide/homebrew_dev/app_dev.html and https://gbatemp.net/threads/nxlink-gui.534977/#post-9900805) is mainly aimed for programmers to load homebrew on console with out take the SD card from switch, but today is more easy to use sys-ftpd.