LE910-SKG AT commands reference guide
80437ST10619A Rev.1 – 2014-09-16
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 208 of 273
#FTPAPPEXT - FTP Append Extended
<
connMode
> parameter set to
command mode
connection.
Parameters:
<
bytestosend
> - number of bytes to be sent
1..1500
<
eof
> - data port closure
0 – normal sending of data chunk
1 – close data port after sending data chunk
The device responds to the command with the prompt <
greater_than
><
space
> and
waits for the data to send.
When <
bytestosend
> bytes have been sent, operation is automatically completed.
If (all or part of the) data are successfully sent, then the response is:
#FTPAPPEXT:<sentbytes>
OK
Where <
sentbytes
> are the number of sent bytes.
Note: <
sentbytes
> could be less than <
bytestosend
>
If data sending fails for some reason, an error code is reported.
AT#FTPAPPEXT=?
Test command reports the supported range of values for parameters <
bytestosend
>
and <
eof
>
Example
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 will be 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 here the binary data. As soon Size byte are written, data are sent and OK
Summary of Contents for LE910-SKG
Page 1: ......