Dear all,
I need FTP client application for my MCB1700. Does anyone have FTP client sample code for LPC1768? Thanks.
best regards, sigit
Yeah, I've thought about that also... but I still cannot figure out what causing the memory to run out.
I'm using command sequence to connect my board to FTP server. I've allocated buffer pointer to every command, such as :
case 1 : sendbuf1 = tcp_get_buf (maxlen1); memcpy (sendbuf1, data_buf_1, maxlen1); tcp_send (tcp_soc_21, sendbuf1, maxlen1); printf ("Command sent = %s\n", sendbuf1); break;
case 2 : sendbuf2 = tcp_get_buf (maxlen2); memcpy (sendbuf2, data_buf_2, maxlen2); tcp_send (tcp_soc_21, sendbuf2, maxlen2); printf ("Command sent = %s\n", sendbuf2); break;
but the problem is still occur.
Am I doing it wrong? Thank you.
Have you remembered to free your buffers after use...?
You appear to have missed the clear instructions on how to post source code: www.danlhenry.com/.../keil_code.png (and also failed to notice in the preview?)
so perhaps you also need to go back to the RL-ARM TcpNet documentation to make sure you haven't missed any similar details there...