Commit Graph

97 Commits

Author SHA1 Message Date
Michael Theall
c7cd0ec231 Only call socExit() if socInit() succeeded 2016-04-09 11:54:34 -05:00
Michael Theall
56b509e58e Modernize makefile 2016-04-09 11:51:31 -05:00
Michael Theall
a92b041dc4 File size is off_t which is actually signed 2016-02-03 13:56:47 -06:00
Michael Theall
a4a2962287 Replace ftbrony with ftpd in .gitignore; update .gitignore to account for cia branch 2016-01-29 17:46:48 -06:00
Michael Theall
44f8eaf55d Encode invalid command response 2016-01-29 14:08:14 -06:00
Michael Theall
5e8fb219e3 Fix decode_path 2016-01-29 14:05:25 -06:00
mtheall
4dba517776 Merge pull request #32 from m45t3r/master
Print parsed command when it is invalid
2016-01-29 11:31:38 -06:00
Thiago Kenji Okada
832929c15b Print parsed command when it is invalid
Remove carriage return first before sending command back to the client.
2016-01-29 02:53:03 -02:00
Michael Theall
dff661c19f Remove gfxDrawSprite 2016-01-26 00:02:07 -06:00
Michael Theall
06ea029089 Improve console printing 2016-01-25 23:56:29 -06:00
Michael Theall
4947dda9c6 Remove debug.h 2016-01-25 23:55:59 -06:00
Michael Theall
7a2f7747ee Replace 0xFFFE with SOL_CONFIG for SOCU_GetNetworkOpt 2016-01-25 23:47:37 -06:00
Michael Theall
08f437e25e Remove all brony branding 2016-01-25 23:46:52 -06:00
Michael Theall
c21aa5439e Replace brony with tcp table 2016-01-25 20:03:48 -06:00
Michael Theall
10d7ed6217 Fix whitespace 2016-01-25 19:14:15 -06:00
Michael Theall
e83f8b5531 Fix linux build for MDTM 2016-01-25 19:12:19 -06:00
Michael Theall
4598dc52c4 work around broken clients that think LIST -a is a thing 2016-01-25 19:11:53 -06:00
Michael Theall
c2c82919a3 Add more file types to list 2016-01-25 19:10:53 -06:00
Michael Theall
717e4cfdc0 Fix hostname and port length 2016-01-23 03:38:03 -06:00
Michael Theall
6188d8b4f0 Add a few missing commands to README 2016-01-22 18:57:33 -06:00
Michael Theall
74ec300fc8 Add timestamp-related features 2016-01-22 16:38:22 -06:00
Michael Theall
55816af44b Put version in a single place 2016-01-22 14:42:38 -06:00
Michael Theall
7ffa6d6255 Improve pathname encoding compatibility 2016-01-22 14:30:26 -06:00
Michael Theall
b0d0b03874 Fix PWD response code 2016-01-22 14:28:55 -06:00
Michael Theall
920cd96c67 Remove coloring from linux build.
Terminate loop when canceling waiting for wifi.
Implement ABOR, HELP, and STAT.
- STAT (no argument) during a transfer gives the current file's offset.
- STAT (no argument) outside of transfer will return server uptime.
- STAT (with argument) is the same as LIST but with the data traveling over the command socket.
Allow ABOR, STAT, and QUIT to occur during transfer.
Support telnet interrupt (discard data up to Data Mark past TCP urgent mark).
Support arguments for LIST and STAT.
Escape \r in response as per telnet standard. Some clients don't like this but they are out of spec.
Unescape \r\0 in request as per telnet standard. Some clients don't properly escape this but they are out of spec.
Support commands broken across multiple recv().
Escape quotes on PWD response.
Added much more documentation.
2016-01-21 19:25:22 -06:00
Michael Theall
de29f4a2a7 Add REST command 2016-01-18 17:46:03 -06:00
Michael Theall
5617e2c32a reduce dropped connections at end of transfer 2016-01-18 17:45:04 -06:00
Michael Theall
c79616d2ef v2.1 2016-01-16 16:33:45 -06:00
Michael Theall
2b836543f6 Faster LIST command 2016-01-16 16:32:59 -06:00
Michael Theall
aa3d4b70d7 Add message that we are waiting on socExit() 2016-01-16 16:00:31 -06:00
Michael Theall
7538ea5112 Fix linux build warning 2016-01-16 00:41:49 -06:00
Michael Theall
d38cea4e7b Restart server when network drops 2016-01-16 00:38:58 -06:00
Michael Theall
2ff33ca398 Wait for wifi on start 2016-01-16 00:22:26 -06:00
Michael Theall
74c7e00f14 Fix status string 2016-01-15 18:43:45 -06:00
Michael Theall
3d156e4042 v2.0 2016-01-15 18:04:09 -06:00
Michael Theall
3da67ce57a Add NLST command 2016-01-15 17:47:18 -06:00
Michael Theall
60bab0735e Add APPE command 2016-01-15 17:32:01 -06:00
Michael Theall
17dfdfcf01 Fix socket/file leaks 2016-01-15 16:45:10 -06:00
Michael Theall
f7156e8ca9 Change initiator msg from 200 to 220 2016-01-15 12:13:56 -06:00
Michael Theall
9d2a3906f3 Reverse DNS-lookup 2016-01-15 12:13:28 -06:00
Michael Theall
1c5084e08e Improve FTP throughput 2016-01-12 16:24:01 -06:00
mtheall
d70cc5a238 Merge pull request #26 from WinterMute/libctru-fixes
Update for libctru 1.0.0
2015-12-30 13:54:04 -06:00
Dave Murphy
c2d307a9d9 support embedded smdh 2015-12-30 14:13:32 +00:00
Dave Murphy
3dc7839118 fixes for latetst libctru changes 2015-12-30 02:20:26 +00:00
mtheall
80f2ea0417 Merge pull request #22 from d0k3/patch-1
Fix Ninjhax output name and icon usage
2015-08-20 13:47:38 -05:00
d0k3
14879ac8b6 Fix Ninjhax output name and icon usage
It's better to give an output name instead of using the name of the current directory, so 'ftbrony' is used as default. I also fixed the icon not being used in SMDH creation (project name is ftbrony-master when downloaded from GitHub, not ftbrony).
2015-08-20 02:32:24 +02:00
mtheall
8ccbc94115 Merge branch 'r44' 2015-08-19 13:30:48 -05:00
mtheall
0ba3844ad8 Use sdmc_dev
Enable UTF8
2015-08-19 13:25:34 -05:00
mtheall
f505422c44 Merge pull request #18 from mid-kid/master
Changes for new devkitARM and ctrulib
2015-02-26 21:19:06 -06:00
mid-kid
59cbc2edfa Changes for new devkitARM and ctrulib 2015-02-26 10:46:27 +01:00