Notes, Examples – Synaccess Networks NP-0801DTM User Manual
Page 252

FTP AT COMMANDS
HSPA+ AT Commands Reference Guide
252
OK
Where <sentbytes> are the number of sent bytes.
Notes
<sentbytes> can be less than <bytestosend>
If data sending fails for some reason, an error code is reported.
Examples
AT#FTPOPEN=”IP”,username,password
OK
AT#FTPPUT=<filename>,1 -> the new param 1 means that we open the connection in command
mode
OK
// Here data socket will stay opened, but interface is available
(command mode)
AT#FTPAPPEXT=Size
>… write here the binary data. As soon Size byte are written, data are sent and OK is returned
#FTPAPPEXT: <SentBytes>
OK
………
// Last #FTPAPPEXT will close the data socket, because second (optional) parameter has this meaning:
AT#FTPAPPEXT=Size,1
>…write the binary data. As soon Size byte is written, data is sent and OK is returned.
#FTPAPPEXT: <SentBytes>
OK
// If the user has to reopen the data port to send another (or append to the same) file, he can restart with the FTPPUT(or
FTPAPP.)
//Then FTPAPPEXT,… to send the data chunks on the reopened data port.