Homebrew Homebrew app [Release] ftpsrv - A small ftp server

TotalJustice

Well-Known Member
OP
Member
Joined
Jan 28, 2017
Messages
463
Trophies
1
Age
27
XP
2,875
Country
United Kingdom
I decided to release my ftp server publicly. It has builds for various platforms, such as the wii, 3ds, nds etc...but i figure that most users of this app will be using the switch version :)
There exists 2 builds for the switch, application and sys-module. The application is to be launched via hbmenu, the sys-module runs in the background.

Performance wise, it out performs ftpd (application), sys-ftpd-light (sys-module) and a few other homebrew apps that feature ftp servers, all while having a smaller memory footprint.
Do keep in mind that the sys-module version will perform much slower than the application version due to reducing the amount of memory ftpsrv uses.

Link to the project
Link to the releases

Whilst i'm here, i might as well release a public build of sphaira, my hb-menu replacement app. Have fun!
 

Attachments

  • sphaira.zip
    815.1 KB · Views: 1
  • switch_sysmod.zip
    105.5 KB · Views: 2
  • switch_application.zip
    144.2 KB · Views: 1

Jayinem

Well-Known Member
Member
Joined
Dec 16, 2021
Messages
1,509
Trophies
1
XP
3,534
Country
United States
I decided to release my ftp server publicly. It has builds for various platforms, such as the wii, 3ds, nds etc...but i figure that most users of this app will be using the switch version :)
There exists 2 builds for the switch, application and sys-module. The application is to be launched via hbmenu, the sys-module runs in the background.

Performance wise, it out performs ftpd (application), sys-ftpd-light (sys-module) and a few other homebrew apps that feature ftp servers, all while having a smaller memory footprint.
Do keep in mind that the sys-module version will perform much slower than the application version due to reducing the amount of memory ftpsrv uses.

Link to the project
Link to the releases

Whilst i'm here, i might as well release a public build of sphaira, my hb-menu replacement app. Have fun!

Good job, and I hate to be this guy asking for other stuff but it's only because I respect your skills I've used your apps before. Would it be possible to have an app that wakes the Switch from sleep with a PC homebrew app? I've gotten it to work occasionally with Client-RS/SysHidPlus usually by accident it's a long story but have never gotten it to work consistent. And everyone else says it's not possible but like I said I've done it, just seems the Switch goes in a deep sleep mode where emulating the home button can't wake it up anymore. I bet if someone looked at the code it maybe could be working.
 
  • Like
Reactions: impeeza

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,815
Trophies
5
Location
Space
XP
14,791
Country
Norway
Good job, and I hate to be this guy asking for other stuff but it's only because I respect your skills I've used your apps before. Would it be possible to have an app that wakes the Switch from sleep with a PC homebrew app? I've gotten it to work occasionally with Client-RS/SysHidPlus usually by accident it's a long story but have never gotten it to work consistent. And everyone else says it's not possible but like I said I've done it, just seems the Switch goes in a deep sleep mode where emulating the home button can't wake it up anymore. I bet if someone looked at the code it maybe could be working.
I would assume that it's not possible without disabling deep sleep which would destroy battery life in sleep mode.
 
  • Like
Reactions: impeeza

cucholix

00000780 00000438
Member
Joined
Jan 17, 2017
Messages
3,274
Trophies
1
Age
44
XP
6,512
Country
Chile
nvm, was using wrong auth method.
and, wow sphaira looks promising! A full file browser manager within hbmenu, really great :)
 
Last edited by cucholix,
  • Love
Reactions: impeeza

HoRy205

Member
Newcomer
Joined
Jan 9, 2024
Messages
19
Trophies
0
Age
21
XP
259
Country
Japan
I tried sphaira and it's very good. Thanks. It's very similar in concept to Homebrew Details, but much faster. Will it be possible to completely replace hbmenu with further development?
When I looked at the settings, I could already replace it with hbmenu. It's great! Apart from that, I want to be able to create my own themes, and for users to create them. For example, if I could set the color and background.png of each one like nx activity log, I could unify the whole Switch. Also, I would like the option to display my favorite things at the top or hide them like the stars of hbmenu in the sort function!
 

TotalJustice

Well-Known Member
OP
Member
Joined
Jan 28, 2017
Messages
463
Trophies
1
Age
27
XP
2,875
Country
United Kingdom
When I looked at the settings, I could already replace it with hbmenu. It's great! Apart from that, I want to be able to create my own themes, and for users to create them. For example, if I could set the color and background.png of each one like nx activity log, I could unify the whole Switch. Also, I would like the option to display my favorite things at the top or hide them like the stars of hbmenu in the sort function!
hi. so sphaira won't have stars like hbmenu does. apps are sorted based on timestamps. so if you launch retroarch, itll be placed at the top of the list, or if you install a new app from the appstore, itll be at the top of the list. This is also the case if you create a forwarder using sphaira. I think this behavior is better than the star system. For example, lets say you have lots of apps installed and have all your favorite ones stared, but you often launch retroarch. You would have to scroll pretty far down due to the alphabetical sorting of the stars.

you can create your own themes, they go in /config/sphaira/themes/

here is an example of the abyss theme. You can either use colours or an image for the background too.

INI:
[meta]
name=Abyss
author=TotalJustice
version=1.0.0
; unused currently
preview=romfs:/theme/preview.jpg

[theme]
background=0x0f111aff
music=/config/sphaira/themes/music/bgmusic_pcm.bfstm
grid=0x0f115c30
selected=0x0f115cff
selected_overlay=0x529cffff
text=0xffbc41ff
text_selected=0x529cffff

icon_audio=romfs:/theme/icon_audio.png
icon_video=romfs:/theme/icon_video.png
icon_image=romfs:/theme/icon_image.png
icon_file=romfs:/theme/icon_file.png
icon_folder=romfs:/theme/icon_folder.png
icon_zip=romfs:/theme/icon_zip.png
icon_nro=romfs:/theme/icon_nro.png
Post automatically merged:

App version still crashing AMS when run it, AMS 1.8.0 prerelease, HOS 18.1.0
does it crash for you on renamaing a file or just in general? could you provide the error code?

i've fixed (again) the rename bug on the switch. it was an issue with the path translation.
 
Last edited by TotalJustice,

WE1ZARD

New Member
Newbie
Joined
Feb 19, 2023
Messages
1
Trophies
0
Age
24
XP
109
Country
China
After install sphaira forwarder from sphaira, it occur software errors while launch sphaira forwarder.
my friend successed installed sphaira forwarder without any launch issues, it should be my issues.

And it can't connect via ftpsrv on my pc, tried change ports, pc system,
It works only on my iphone, i had open an issues on github.
 
Last edited by WE1ZARD,

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
8,230
Trophies
4
Age
46
Location
At my chair.
XP
28,305
Country
Colombia
Testing for the first time the 1.1.2 version and so far working like a charm, I see

Code:
[Nx]
# enables showing all available mount points at root "/"
# for example, SdCard is as at "/sdmc:"
mount_devices = 1

# mounts the application save data, needs mount_devices = 1
save_application_id = 0x0100F2C0115B6000

# mounts the application bcat data, needs mount_devices = 1
bcat_application_id = 0x0100F2C0115B6000


on the config, but my client only shows:
1732778435182.png


I can no see the savegame mount, is a task to do or something is wrong on my config?
Post automatically merged:

By the way @TotalJustice Thanks a lot for all your work on the scene, you always give us excellent homebrew, you always are ready to teach us and share your knowledge.

Regards from Colombia.
 
Last edited by impeeza,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    That's what kind of bothers me. People asking the same question from decades ago. It's like a cycle going round and round. If they can't be arsed to search something so simple and easy to identify, then I can't think for words.
  • NinStar @ NinStar:
    the problem is, it is a regular chat channel, discord had forum channels for quite a while now, but the server doesn't have any
  • NinStar @ NinStar:
    I literally joined expecting to find something specific because their troubleshooting and faq pages are lacking a lot of information
    +1
  • NinStar @ NinStar:
    but since they don't have forums it is kinda hard, a lot of messages are either outdated or related to other conversations
    +1
  • SylverReZ @ SylverReZ:
    Oof. That's not looking good. Would be good if they at least put some FAQ & troubleshooting pages up; rather than ask somebody who clearly knows very little about the subject.
  • SylverReZ @ SylverReZ:
    Outdated stuff that involves hardware modifications is always a bad idea.
  • kijetesantakalu042 @ kijetesantakalu042:
    I literally only have 500 mb left on my ssd
  • NinStar @ NinStar:
    yes, I was specifically looking for more information about the wifi firmware while running ubuntu, their faq is extremely vague on that
  • NinStar @ NinStar:
    @kijetesantakalu042 delete your hentai folder
  • kijetesantakalu042 @ kijetesantakalu042:
    @NinStar I store that on google drive. Not my hard drive
  • NinStar @ NinStar:
    I once had a shared folder on google drive, one of the collaborators was putting porn on it with the file names and extensions all changed to avoid suspicion
  • NinStar @ NinStar:
    took me a while to realize
  • kijetesantakalu042 @ kijetesantakalu042:
    I have it on a shared folder so the other person will be blamed if someone finds out
  • SylverReZ @ SylverReZ:
    @kijetesantakalu042, Just don't store it on Google Drive, ok? Put it in your MEGA folder.
  • kijetesantakalu042 @ kijetesantakalu042:
    I don't use meganx
  • SylverReZ @ SylverReZ:
    @kijetesantakalu042, I use MEGA, has a lot more storage compared to what Google offers.
  • kijetesantakalu042 @ kijetesantakalu042:
    Honestly I just want a bigger ssd or extra hard drive
  • SylverReZ @ SylverReZ:
    @kijetesantakalu042, Have something larger like a 1TB SSD, it's about enough for mostly everything you need.
  • kijetesantakalu042 @ kijetesantakalu042:
    I just have a 512 gb and I'm saving for my computer build when I finally have more space so I can't really invest in a ssd
  • NinStar @ NinStar:
    I only really use my ssd for things I'm constantly accessing on my computer
  • NinStar @ NinStar:
    everything else goes to my hdd
  • kijetesantakalu042 @ kijetesantakalu042:
    I only have an ssd
  • kijetesantakalu042 @ kijetesantakalu042:
    budget gaming laptop issue
  • K3Nv2 @ K3Nv2:
    Mail all back up data directly to Nintendo
    +1
    K3Nv2 @ K3Nv2: https://store.steampowered.com/app/1271100/Deadly_Premonition_2_A_Blessing_in_Disguise/ hell yeah