2 setting the ftp transfer type, 3 ftp file transfer to the server – Rainbow Electronics GM862-QUAD-PY User Manual
Page 32

Easy GPRS User Guide
80000ST10028 Rev. 4 - 16/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 32 of 63
2.2.2 Setting the FTP Transfer Type
With the command AT#FTPTYPE[=
command must be provided during an FTP connection.
Parameter:
0 - binary
1 - ASCII
NOTE: The command causes an ERROR result code to be returned if no FTP connection has been
opened yet.
NOTE: If the parameter is omitted then the behaviour of Set command is the same of Read command.
2.2.3 FTP File transfer to the server
With the command AT#FTPPUT=
open a data connection and starts sending
If the data connection succeeds, a CONNECT indication is sent, otherwise a NO CARRIER indication
is sent.
Parameter:
right extension: es. if the file you’re sending is .txt then the
NOTE: use the escape sequence +++ to close the data connection.
NOTE: The command causes an ERROR result code to be returned if no FTP connection has been
opened yet.
Example:
Define PDP context:
AT+CGDCONT=1,”IP”, "internet.wind.biz"
OK
GPRS Context Activation, as response gives IP of the module:
AT#SGACT=1,1
#SGACT: 193.199.234.255
OK
Opening of FTP connection: