This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

FTP client for MCB1700

Dear all,

I need FTP client application for my MCB1700. Does anyone have FTP client sample code for LPC1768? Thanks.

best regards,
sigit

Parents
  • 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.

    best regards,
    sigit

Reply
  • 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.

    best regards,
    sigit

Children