Juha Niskanen
5c8d6934a5
netutils/ftpd: fix hardfault when initial socket, bind or listen fails
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2021-01-13 20:22:55 -06:00
YAMAMOTO Takashi
3e015320e3
netutils/ftpd/ftpd.c: Fix syslog formats
2020-11-27 02:43:30 -06:00
YAMAMOTO Takashi
28296d539d
netutils/ftpd/ftpd.c: Fix a printf format warning
2020-11-13 05:51:23 -08:00
Masayuki Ishikawa
34305351c4
netutils: ftpd: Fix style violations in ftpd.c
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-05-22 16:53:37 +08:00
Masayuki Ishikawa
e6196d2c9c
netutils: ftpd: Fix EPSV mode in ftpd.c (IPv4 only)
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-05-22 16:53:37 +08:00
Xiang Xiao
41d88f06e7
Run codespell -w with the latest dictonary again
2020-02-23 07:10:14 -06:00
Xiang Xiao
e0adf5ee0b
Remove all CONFIG_NET_HAVE_REUSEADDR guard
2020-02-03 15:13:19 -06:00
Xiang Xiao
e0dcfa0c55
Remove extra whitespace from files ( #43 )
...
* Remove multiple newlines at the end of file
* Remove the white space from the end of line
2020-01-31 08:29:24 -06:00
Gregory Nutt
561fc02ae5
netutils/ftpd/ftpd.c: Fix an error introduced in PR10. In error clean-up, it was trying to free memory on an error where we failed allocated memory. Not good.
2020-01-12 11:55:16 +00:00
Gregory Nutt
e67850971d
apps/netutils/ftpd/ftpd.c: Fixes several problems:
...
1. This fixes the issue reported in Bitbucket apps/ Issue 15. That is, if fopen() fails, the NULL stream handle would be used in subsequent logic. The handling of the failure was incomplete.
2. Some of the error handling was fixed. In the event of an error, it was return return an error value ONLY if we failure to report the error and even then the wrong error would be reported. This change now preserves and returns the correct error number that is the root cause of the failure.
3. Ran the file through tools/nxstyle and cleaned up many formatting problems.
2020-01-11 22:22:46 -03:00
Xiang Xiao
857158451b
Unify the void cast usage
...
1.Remove void cast for function because many place ignore the returned value witout cast
2.Replace void cast for variable with UNUSED macro
Change-Id: Ie644129a563244a6397036789c4c3ea83c4e9b09
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-01-02 23:21:01 +08:00
Gregory Nutt
a89f0e3a07
Add missing function names in function headers.
2018-08-13 15:52:59 -06:00
Anthony Merlino
f489bcd6f9
Merged in antmerlino/apps/ftp-ipv6 (pull request #122 )
...
FTP: Adds support for IPv6 and fixes various transfer issues
* netutils/ftpd: Fix support for IPv6 FTP server
* netutils/ftpc:Adds support for IPv6 sockets
* ftpc: Must convert port received by EPSV reply to network order
* ftpc: Data socket address for passive connection should be same as server address
* ftpc: Must skip human readable string in EPSV response before scanning for port
* ftpc: Don't send PASS command if USER command was sufficient. ie no password required
* ftpc: Generically handle permanent negative completion in shard ftpc_cmd logic
* ftpc: Minor addresssing fix
* ftpc: Tweak logic for overriding network debugging output
* FTP: Adds option for setting stack size of various threads in FTPD and FTPC
* netutils/ftpd: Fixes build error setting IPv4 address. sin_addr => sin_addr.s_addr
* netutils/ftpd: Protects against partial write returns by looping in that case
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-06 23:41:30 +00:00
Gregory Nutt
81645fe18f
strcasecmp, strncasecmp, bzero, bcmp, and bcopy should be defined in strings.h, not string.h. bzero, bcmp, and bcopy are legacy functions; the contemporary counterparts should be used instead.
2017-02-16 15:58:15 -06:00
Pierre-Noel Bouteville
4765d7baf8
fix bug un ftpd file or socket may be not closed
2016-12-04 08:39:40 -06:00
Pascal Speck
4bf63f12c3
Fixed bug that didn't free ftpd ressources on exit
2016-11-21 17:08:55 +01:00
Sebastien Lorquet
2cbad44f1d
This is the Pokemon patch to change all includes fronm <apps/bla/bla.h> to "bla/bla.h"
2016-07-11 10:11:18 -06:00
Gregory Nutt
a50383db3d
apps/graphics and netutils: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
2016-06-14 17:53:47 -06:00
Gregory Nutt
586b0aa7e0
Change names of *dbg() * *err()
2016-06-11 15:51:27 -06:00
Gregory Nutt
344c92e2a4
Replace all occurrences of vdbg with vinfo
2016-06-11 11:55:38 -06:00
Gregory Nutt
aacfce081e
Fix several cosmetic, C coding style issues
2015-10-03 11:03:42 -06:00
Gregory Nutt
6b1d61c759
More references to avsprintf that need to be changed vasprintf
2015-09-07 17:09:11 -06:00
Gregory Nutt
55bfbed33f
Fixes for more issues found by cppcheck
2014-11-25 15:26:30 -06:00
Gregory Nutt
767f1b2993
Fix netutils configuration issues: CONFIG_NETUTILS_HTTPD_SENDFILE was missing from Kconfig; CONFIG_NET_HAVE_SOLINGER should be CONFIG_NET_SOLINGER; Type of CONFIG_NET_HTTPD_MAXPATH was wrong in Kconfig file. From Max
2014-07-11 12:30:23 -06:00
Gregory Nutt
b9cf7acb1a
More trailing whilespace removal
2014-04-13 16:24:28 -06:00
patacongo
bffae74f54
Remove executable property from source and make files
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5146 42af7a65-404d-4744-a932-0658087f49c3
2012-09-13 18:46:10 +00:00
patacongo
750f8fa70c
Correct a buffer size error in the STM32 ethernet driver
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4403 42af7a65-404d-4744-a932-0658087f49c3
2012-02-18 22:09:09 +00:00
patacongo
ba73620d39
Correct and error in recv() and recvfrom() return value
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4402 42af7a65-404d-4744-a932-0658087f49c3
2012-02-18 18:13:30 +00:00
patacongo
5c75c3edeb
Document recvfrom() bug
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4399 42af7a65-404d-4744-a932-0658087f49c3
2012-02-16 02:33:01 +00:00
patacongo
715c9987ee
Fixes all known FTP server bugs
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4398 42af7a65-404d-4744-a932-0658087f49c3
2012-02-15 23:37:37 +00:00
patacongo
3a3ea574c4
Minor FTPD updates
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4397 42af7a65-404d-4744-a932-0658087f49c3
2012-02-15 22:41:17 +00:00
patacongo
96abf2590b
Fix an FTPD bug
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4378 42af7a65-404d-4744-a932-0658087f49c3
2012-02-09 23:10:15 +00:00
patacongo
f12225b4f7
Fix a bug in the FAT statfs() implementation
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4375 42af7a65-404d-4744-a932-0658087f49c3
2012-02-07 00:29:06 +00:00
patacongo
ed6abe6d2e
A little more FTP daemon cleanup
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4374 42af7a65-404d-4744-a932-0658087f49c3
2012-02-05 22:46:56 +00:00
patacongo
b28d2ce389
Fix more FTP server bugs
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4373 42af7a65-404d-4744-a932-0658087f49c3
2012-02-05 22:18:14 +00:00
patacongo
5348d75a2d
FTP server is marginally functional
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4372 42af7a65-404d-4744-a932-0658087f49c3
2012-02-05 19:32:42 +00:00
patacongo
5c43eed652
FTPD daemon and example now build without errors
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4371 42af7a65-404d-4744-a932-0658087f49c3
2012-02-05 17:36:13 +00:00
patacongo
eeff74085e
Add the beginnings of an FTP server
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4368 42af7a65-404d-4744-a932-0658087f49c3
2012-02-04 21:02:45 +00:00