[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] lwip FTP - TCP - packets problem
From: |
A480G |
Subject: |
[lwip-devel] lwip FTP - TCP - packets problem |
Date: |
Wed, 13 Jul 2016 23:59:54 -0700 (MST) |
Hi all ,
I have been trying to implement a lwIP FTP server in my project, reason I
need to download a 1GB file from a SD card.
Anyway, I've achieve to a certain point to make it work, but I faced a
really annoying problem regarding the packages that are send over the TCP.
The problem is: after I hit the GET command and I can receive a single
packet which is TCP_MSS - 1460.
<http://lwip.100.n7.nabble.com/file/n26802/13662551_1211594715541964_734328982_o.jpg>
The handshake after the command is:
[SYN] - Send by the server
123 response: 150 opening BINARY mode ........................
[SYN, ACK] - send by the host
[PSH, ACK] - Send by the server
[ACK] - Send by the host
[ACK] - Send by the host
84 Response : 226 Closing data connection - send by the host
[FIN, ACK] - - Send by the server
[ACK] - Send by the host
[FIN, ACK]- Send by the server
[ACK] - Send by the host
So the test file that I want to download is a 20MB file :) so I will need
approximately 13700 packets!!!!
I'm not sure if the problem is somewhere in the FTP library of I need to
adjust TCP. I have spend around a week on this problem, so any help,
advise will be appreciated.
Kind Regards!!
--
View this message in context:
http://lwip.100.n7.nabble.com/lwip-FTP-TCP-packets-problem-tp26802.html
Sent from the lwip-devel mailing list archive at Nabble.com.
- [lwip-devel] lwip FTP - TCP - packets problem,
A480G <=