Philipp Riederer
4c31c7a92e
handle disk full
2 years ago
Philipp Riederer
127bfdfef5
pull out common function
2 years ago
Vitus Birkmeir
eec613a9f3
fixed warnings cause by common compiler options
ftpd.c (trim trailing spaces)
vfs.c (added suggested parentheses)
fixed prototype of main() function
3 years ago
Vitus Birkmeir
260d8354d5
fixed format warning for printf()
cast size_t to unsigned to avoid issues caused by
64 bit systems mixed with 32 bit once.
cast pointer to unsigned long to ensure 64bit will
be printed on linux x64
3 years ago
Vitus Birkmeir
fe9ec960b4
fixed unused parameter warning
(void) parameter cast is a common way to suppress unused warning
3 years ago
Philipp Toelke
58d7eed802
use lwip-debugging
4 years ago
Philipp Toelke
a50984551d
make time-handling compatible to linux
this may break stuff...
4 years ago
Philipp Tölke
47f10af1ee
Fix Passive Mode
Author: Mark Walters <mwalters1024@gmail.com>
Using passive mode caused a pcb to be left open after the FTP session terminated.
Added new datalistenpcb to ftpd_msgstate to be listening pcb during passive mode: opened in cmd_pasv() and closed in ftpd_dataclose().
Uncommented PASV command in ftpd_commands[].
5 years ago
Philipp Tölke
7bb0f0af95
Added extra error handling & debug messages
to open_dataconnection(), cmd_rnfr() and ftpd_msgaccept()
Author: Mark Walters <mwalters1024@gmail.com>
5 years ago
Philipp Tölke
cf3deefda3
Fixed month_table[] name of Dec.
Author: Mark Walters <mwalters1024@gmail.com>
5 years ago
Murat Seker
5987e9f455
Free resources on remote close
Fix typo
8 years ago
Murat Seker
e198c97abc
Free resources on remote close
Deallocate resources immediately if client closes connection.
8 years ago
Murat Seker
871f506d42
Remove redundant binding
Binding to data port is not necessary since server does not support passive mode
8 years ago
Philipp Tölke
539c42d607
Fix memory leak after client quits session
closes #12
8 years ago
Murat Seker
ba5d20ee52
Accept only binary mode transfers
Do not accept if clients wishes to communicate in a mode which is not binary
8 years ago
Murat Seker
3019a6d331
Fix unhandled TYPE command
FileZilla and most other FTP clients are not able to cope with unhandled TYPE command. Return success instead of command not implemented.
8 years ago
Murat Seker
d266cf666a
Redundant close of file
vfs_close is always called with NULL since fsd->vfs_file checked against NULL at the beginning of function
8 years ago
Murat Seker
3f22965893
Update ftpd.c
PCLint Info 774: Boolean within 'if' always evaluates to True
8 years ago
Philipp Toelke
8b6e47324b
Remove use-after-free
9 years ago
Philipp Toelke
d0d380fbcb
update to new lwip-API
9 years ago
Philipp Toelke
a6634e4839
remove unused code
9 years ago
Philipp Toelke
07027c9e1c
Fix use before initialization in cmd_pasv()
fixes #4
9 years ago
Philipp Toelke
288538a029
fix warnings found by clang
11 years ago
Philipp Toelke
020be82247
Patch ftpd.c to work with current versions of lwip
11 years ago
Philipp Toelke
91f3b87a85
Initial commit of the original ftpd-files
11 years ago