libftphack is a small host (PC) application I made to fix the FTP root problem.
Initially I developed it inside Gaia Manager, but now I splitted it in another github repository.
If you are developing an homebrew application (or an Open Manager mod) and you want to use Sonly libftp library you have to use that application to have FTP access to the /.
You cannot use the literal string "/dev_hdd0/game/%s" in your homebrew, you have to use "/dev_hdd0/game/%s/" instead.
it's a standard autoconf application, so you only need to do ./configure && make to build it.
You need to do it to the elf file BEFORE creating the EBOOT.BIN and the pkg file.