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

Deleted member 413168

Well-Known Member
Member
Joined
Jan 28, 2017
Messages
676
Reaction score
1,675
Trophies
2
XP
4,016
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
 
Last edited by Deleted member 413168,
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
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
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
I would assume that it's not possible without disabling deep sleep which would destroy battery life in sleep mode.

I was basing this around having it docked. If I have it in my hand I can just hit the power button.

Probably not gonna happen though. Oh well.
 
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!
 
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 Deleted member 413168,
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,
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