Ftp upload

I’m using ftp put sample to upload the data to server at regular interval
for this i have used a timer after that timer expires i’m calling the function appli_entry_point()…
it uploads the data first time and next time it gives the following error
Opening FTP connection…
[WIP] new TCPCLIENT 0x180c6488
Error 0 on cx channel
[WIP] closing TCPCLIENT 0x180c6488
[WIP] closing FTP_CONTROL 0x180c45f4

i have checked the FTP channel socket ie… wip_close() its closed after the first file has written and no problem with GPRS connection
pls suggest the idea to do the same or pls send me the code if you had tried the same example for this application…
thanks and regards

I have exactly the same problem.
the gprs is ok, I created the ftp client after receiving IP connected event.

there is about 1 minute between trace “[WIP] new TCPCLIENT 0x180c6488”
and “Error 0 on cx channel” I guess it’s a timeout.

the code is
wip_debug( “Error %i on cx channel\n”, ev->content.error.errnum);

so a WIP_CEV_ERROR event is received and the ev->content.error.errnum is 0.
but 0 doesn’t make any sense.

80% of time, it works, this happens ramdly, can someone encounter this problem before?
Hardware Supreme Fastrack, firmware 7.4, wip 5.1.