mtheall / ftpd

FTP Server for 3DS/Switch
GNU General Public License v3.0
1.4k stars 135 forks source link

Shut down SYS-FTPD when starting FTPD app and shut down when closing #144

Closed fennectech closed 2 years ago

fennectech commented 2 years ago

Is your feature request related to a problem? Please describe. FTPD is much faster than sys-ftpd but its nice to have SYS-FTPD running in the background

Describe the solution you'd like Shut down SYS-FTPD when starting the app and start it back up when closing the app

Describe alternatives you've considered Dont think theres a better way

Additional context When transferring large files like dumps down off my switch i like to use the FTPD APP instead of the slower sys-which is good for smaller transfers like editing cheats and pulling logs. However. To use the app i have to manually shut down sys-ftpd and restart it when closing this app. It would be awesome if the app could do it automaticly. And it shouldent be that difficult to kill and restart upon closing and opening

mtheall commented 2 years ago

I don't know what is sys-ftpd.

fennectech commented 2 years ago

Its a sysmodule that provides FTPD access with the title ID of 420000000000000E

Just kill that module when starting up and start it up when exiting this application

fennectech commented 2 years ago

https://github.com/WerWolv/ovl-sysmodules This here starts and stops sysmodules https://github.com/WerWolv/ovl-sysmodules. (You can ignore the boot2.flag part as your not modifying the start at boot status of the sysmodule

mtheall commented 2 years ago

Sorry, that is GPLv2 and ftpd is GPLv3. Also, I won't be in the business of managing the runtime of external apps and services.

fennectech commented 2 years ago

Alright. Thanks for the input.