2 setting the ftp transfer type, 3 ftp file transfer to the server – Telit Wireless Solutions Easy GPRS User Manual
Page 24

Easy GPRS User Guide
80000ST10028 Rev. 1 - 14/03/07
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 24 of 37
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 of an FTP file transfer to the server:
Define PDP contest:
AT+CGDCONT=1,”IP”, "internet.wind.biz"
OK
GPRS Context Activation, as response gives IP of the module:
AT#GPRS=1
+IP: 193.199.234.255
OK