Ftp put

Hi,
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
chethan