Download script using TCP/IP


I am developing an application in my GT47 using M2mpower tool.

I am trying to download a script into slot 1 of my GT47, and then executing it.
I am able to send the script code from a PC in Internet to my GT47. However I couldn´t download it in slot 1 using “atsnd()” function and AT*E2APD at command (Implementing Xmodem protocol).
atsnd() allow me download the first packet of all script.

Someone could help me??
Someone try “iprc” function of M2mpower tool??

Thanks you very much