Homebrew [ftp server] ftbrony, by mtheall

  • Thread starter Thread starter hippy dave
  • Start date Start date
  • Views Views 172,296
  • Replies Replies 191
  • Likes Likes 11
Yo, I compiled latest git, labeled as 2.2.

Also, cia is included, seems to work fine.

EDIT: by the way, the 3dsx version will try to load background.bin from the same path as the 3dsx file, convert a 320x240 png image here to get a background.bin: http://xem.github.io/3DShomebrew/tools/image-to-bin.html

@D34DL1N3R

EDIT 2: I changed the attached file, it now includes an alternate cia with not so pony icon, banner and background. Icon and background are from 3DS-FTP. Banner is a random image that says FTP.

Some info about the cia:

Title : "3DS FTP"
CompanyCode : "00"
ProductCode : "CTR-P-3FTP"
ContentType : Application
Logo : Nintendo
UniqueId : 0xf883f # Unique hexadecimal ID

Sorry mtheall, I don't like the pony thing at all :P

EDIT3: these are the images I used for the alternate cia:
Banner:
k19827391.jpg

Icon:
icon.png

Background:
banner.png
 

Attachments

Last edited by suloku,
EDIT: Figured it out. :)

Need help building. I receive the following errors:

D:\ftpd>make
make[1]: Entering directory `/d/ftpd'
console.c
arm-none-eabi-gcc -MMD -MP -MF /d/ftpd/build/console.d -g -Wall -O3 -mword-reloc
ations -march=armv6k -mtune=mpcore -mfloat-abi=hard -DSTATUS_STRING="\"ftpd v2.2
\"" -I/d/ftpd/include -I/c/devkitPro/libctru/include -I/d/ftpd/build -DARM11 -D_
3DS -c /d/ftpd/source/console.c -o console.o
d:/ftpd/source/console.c: In function 'print_tcp_table':
d:/ftpd/source/console.c:73:10: error: unknown type name 'SOCU_TCPTableEntry'
static SOCU_TCPTableEntry tcp_entries[32];
^
d:/ftpd/source/console.c:81:8: warning: implicit declaration of function 'SOCU_G
etNetworkOpt' [-Wimplicit-function-declaration]
rc = SOCU_GetNetworkOpt(SOL_CONFIG, NETOPT_TCP_TABLE, tcp_entries, &optlen);
^
d:/ftpd/source/console.c:81:27: error: 'SOL_CONFIG' undeclared (first use in thi
s function)
rc = SOCU_GetNetworkOpt(SOL_CONFIG, NETOPT_TCP_TABLE, tcp_entries, &optlen);
^
d:/ftpd/source/console.c:81:27: note: each undeclared identifier is reported onl
y once for each function it appears in
d:/ftpd/source/console.c:81:39: error: 'NETOPT_TCP_TABLE' undeclared (first use
in this function)
rc = SOCU_GetNetworkOpt(SOL_CONFIG, NETOPT_TCP_TABLE, tcp_entries, &optlen);
^
d:/ftpd/source/console.c:86:36: error: 'SOCU_TCPTableEntry' undeclared (first us
e in this function)
for(i = 0; i < optlen / sizeof(SOCU_TCPTableEntry); ++i)
^
d:/ftpd/source/console.c:88:27: error: 'entry' undeclared (first use in this fun
ction)
SOCU_TCPTableEntry *entry = &tcp_entries;
^
d:/ftpd/source/console.c:95:14: error: 'TCP_STATE_CLOSED' undeclared (first use
in this function)
case TCP_STATE_CLOSED:
^
d:/ftpd/source/console.c:97:14: error: 'TCP_STATE_LISTEN' undeclared (first use
in this function)
case TCP_STATE_LISTEN:
^
d:/ftpd/source/console.c:99:14: error: 'TCP_STATE_ESTABLISHED' undeclared (first
use in this function)
case TCP_STATE_ESTABLISHED:
^
d:/ftpd/source/console.c:101:14: error: 'TCP_STATE_FINWAIT1' undeclared (first u
se in this function)
case TCP_STATE_FINWAIT1:
^
d:/ftpd/source/console.c:103:14: error: 'TCP_STATE_FINWAIT2' undeclared (first u
se in this function)
case TCP_STATE_FINWAIT2:
^
d:/ftpd/source/console.c:105:14: error: 'TCP_STATE_CLOSE_WAIT' undeclared (first
use in this function)
case TCP_STATE_CLOSE_WAIT:
^
d:/ftpd/source/console.c:107:14: error: 'TCP_STATE_LAST_ACK' undeclared (first u
se in this function)
case TCP_STATE_LAST_ACK:
^
d:/ftpd/source/console.c:109:14: error: 'TCP_STATE_TIME_WAIT' undeclared (first
use in this function)
case TCP_STATE_TIME_WAIT:
^
make[2]: *** [console.o] Error 1
make[1]: *** [build] Error 2
make[1]: Leaving directory `/d/ftpd'
make: *** [all] Error 2
 
Last edited by D34DL1N3R,
EDIT: Figured it out. :)

Need help building. I receive the following errors:

D:\ftpd>make
make[1]: Entering directory `/d/ftpd'
console.c
arm-none-eabi-gcc -MMD -MP -MF /d/ftpd/build/console.d -g -Wall -O3 -mword-reloc
ations -march=armv6k -mtune=mpcore -mfloat-abi=hard -DSTATUS_STRING="\"ftpd v2.2
\"" -I/d/ftpd/include -I/c/devkitPro/libctru/include -I/d/ftpd/build -DARM11 -D_
3DS -c /d/ftpd/source/console.c -o console.o
d:/ftpd/source/console.c: In function 'print_tcp_table':
d:/ftpd/source/console.c:73:10: error: unknown type name 'SOCU_TCPTableEntry'
static SOCU_TCPTableEntry tcp_entries[32];
^
d:/ftpd/source/console.c:81:8: warning: implicit declaration of function 'SOCU_G
etNetworkOpt' [-Wimplicit-function-declaration]
rc = SOCU_GetNetworkOpt(SOL_CONFIG, NETOPT_TCP_TABLE, tcp_entries, &optlen);
^
d:/ftpd/source/console.c:81:27: error: 'SOL_CONFIG' undeclared (first use in thi
s function)
rc = SOCU_GetNetworkOpt(SOL_CONFIG, NETOPT_TCP_TABLE, tcp_entries, &optlen);
^
d:/ftpd/source/console.c:81:27: note: each undeclared identifier is reported onl
y once for each function it appears in
d:/ftpd/source/console.c:81:39: error: 'NETOPT_TCP_TABLE' undeclared (first use
in this function)
rc = SOCU_GetNetworkOpt(SOL_CONFIG, NETOPT_TCP_TABLE, tcp_entries, &optlen);
^
d:/ftpd/source/console.c:86:36: error: 'SOCU_TCPTableEntry' undeclared (first us
e in this function)
for(i = 0; i < optlen / sizeof(SOCU_TCPTableEntry); ++i)
^
d:/ftpd/source/console.c:88:27: error: 'entry' undeclared (first use in this fun
ction)
SOCU_TCPTableEntry *entry = &tcp_entries;
^
d:/ftpd/source/console.c:95:14: error: 'TCP_STATE_CLOSED' undeclared (first use
in this function)
case TCP_STATE_CLOSED:
^
d:/ftpd/source/console.c:97:14: error: 'TCP_STATE_LISTEN' undeclared (first use
in this function)
case TCP_STATE_LISTEN:
^
d:/ftpd/source/console.c:99:14: error: 'TCP_STATE_ESTABLISHED' undeclared (first
use in this function)
case TCP_STATE_ESTABLISHED:
^
d:/ftpd/source/console.c:101:14: error: 'TCP_STATE_FINWAIT1' undeclared (first u
se in this function)
case TCP_STATE_FINWAIT1:
^
d:/ftpd/source/console.c:103:14: error: 'TCP_STATE_FINWAIT2' undeclared (first u
se in this function)
case TCP_STATE_FINWAIT2:
^
d:/ftpd/source/console.c:105:14: error: 'TCP_STATE_CLOSE_WAIT' undeclared (first
use in this function)
case TCP_STATE_CLOSE_WAIT:
^
d:/ftpd/source/console.c:107:14: error: 'TCP_STATE_LAST_ACK' undeclared (first u
se in this function)
case TCP_STATE_LAST_ACK:
^
d:/ftpd/source/console.c:109:14: error: 'TCP_STATE_TIME_WAIT' undeclared (first
use in this function)
case TCP_STATE_TIME_WAIT:
^
make[2]: *** [console.o] Error 1
make[1]: *** [build] Error 2
make[1]: Leaving directory `/d/ftpd'
make: *** [all] Error 2

I am running into the same issue, share your wisdom?
 
I ran both make & install on all of the additional library folders mentioned in the tutorial for FTP-GMX. Can't remember which one fixed it.
Thanks for the pointer, followed this post to make an updated libctru include and lib folders and overwrote my old ones, works great now! Never occurred to me it would be out of date on a fresh install.
 
Last edited by DocKlok,
My gift is a CIA of ftpd's latest commits compiled today after all the brony material was removed by mtheall. FTPd 2.2 2016-01-29


ALERT: This was a new account made because I forgot access to my original, AnalogMan. I'll be responding and monitoring that account from now on. If anyone can inform me of a way to close this one down that would be appreciated.
 

Attachments

Last edited by DocKlok,
My gift is a CIA of ftpd's latest commits compiled today after all the brony material was removed by mtheall. FTPd 2.2 2016-01-29


ALERT: This was a new account made because I forgot access to my original, AnalogMan. I'll be responding and monitoring that account from now on. If anyone can inform me of a way to close this one down that would be appreciated.
If anyone has a better banner graphic or a good sound to add to the CIA, let me know and I'll update it.
 
Question for those that have used V2.2

How much faster exactly are we talking about compared to the older versions ?

Thanks to @suloku and @DocKlok for posting the cia builds
I'll produce hard numbers for you when I've had some rest but I just transferred roughly 400 MB in 7 minutes. So that's about 900KB/s for me.
 
  • Like
Reactions: peteruk
How much faster exactly are we talking about compared to the older versions ?
I don't know exactly how much faster it is, but I have a 20Mb/s Connection, and a New 3DS, and it transferred data with a stable speed of 1.1Mb/s.
 
  • Like
Reactions: peteruk
Hi. This 2.2 is glitchy as hell. It shows errors time to time. And it is imposible to transfer big files, because after 300-400MB it goes to very slow speeds such as 32 KB/s
 
I don't know exactly how much faster it is, but I have a 20Mb/s Connection, and a New 3DS, and it transferred data with a stable speed of 1.1Mb/s.
2.1 gave me the same speed
i'll stick with it so

yesterday's test [08:56:26] Upload: xxxxxxxxxxxRF.cia 473,28 MB in 6 minutes 35 seconds (1,20 MB/s)
 
Last edited by keyra,
Hi. This 2.2 is glitchy as hell. It shows errors time to time. And it is imposible to transfer big files, because after 300-400MB it goes to very slow speeds such as 32 KB/s
It doesn't do that for me. Everything works fine. I usually transfer much bigger CIAs, than 300-400 MB.
 
It doesn't do that for me. Everything works fine. I usually transfer much bigger CIAs, than 300-400 MB.


For me, it worked fine for a couple transfers then suddenly started screwing up (slow connections and eventually dropped entirely). I'll try an older version and see if I run into the same issues or not.
 

Site & Scene News

Popular threads in this forum