mtheall / ftpd

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

Keep the FTP server up when 3ds lid is closed #154

Closed bebewold closed 2 years ago

bebewold commented 2 years ago

Is your feature request related to a problem? Please describe. I would like my 3ds server to stay up when I close the lid, I'm not using the 3ds when transfering files to it so i have the habit of closing the lids when using ftpd, which close the server

Describe the solution you'd like I want the server to stay up until I close the app, lid open or not

mtheall commented 2 years ago

The OS turns off wifi when you close the lid

bebewold commented 2 years ago

There's app like hshop that doesn't stop the process when the lid is closed, it stills installs. Is their something different between keeping a server up and downloading and installing a file?

mtheall commented 2 years ago

If there's a way to do it, I don't know what that way is.

eku commented 2 years ago

@bebewold What is the reason for closing the lid? If it's just to save power to the screens, then press SELECT and ftpd will turn them off.

bebewold commented 2 years ago

It's more of a habit, when I put away I close the lid but when I do that with ftpd I lose connection, and it doesn't happen with the other app I use

eku commented 2 years ago

@bebewold could please name one of the homebrew that keeps wifi in and is available as source?

profi200 commented 2 years ago

You are probably looking for "Runnable on sleep" which is not available for 3dsx homebrew iirc.

bebewold commented 2 years ago

@bebewold could please name one of the homebrew that keeps wifi in and is available as source?

The app is named hshop, I can't find it on GitHub but they source cod is available on their site: https://hshop.erista.me/3hs

Godmode9 also does keep working when you close the lid, but it loads up before the OS I think? And doesn't use wifi so I see how that would be different.

Hshop however runs on the OS and is installed using a CIA like I did with ftpd

mtheall commented 2 years ago

Looking at hshop source code, looks like they use aptSetSleepAllowed(false) I just tried it and the 3DS wifi still turned off when I closed the lid, both 3dsx and cia

mtheall commented 2 years ago

16c5935