5 ftp get - #ftpget – Rainbow Electronics GM862-QUAD-PY User Manual

Page 328

Advertising
background image




AT Commands Reference Guide

80000ST10025a Rev. 5 - 09/07/08

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved

page 328 of 434

#FTPPUT - FTP Put

SELINT 0 / 1


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.


#FTPPUT - FTP Put

SELINT 2

AT#FTPPUT=
[<filename>]

Execution command, issued during an FTP connection, opens a data
connection and starts sending <filename> file to the FTP server.

If the data connection succeeds, a CONNECT indication is sent, otherwise
a NO CARRIER indication is sent.

Parameter:
<filename> - string type, name of the file.

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.

AT#FTPPUT=?

Test command returns the OK result code.

3.5.7.4.5 FTP Get - #FTPGET

#FTPGET - FTP Get

SELINT 0 / 1

AT#FTPGET=
<filename>

Execution command, issued during an FTP connection, opens a data
connection and starts getting a file from the FTP server.
If the data connection succeeds a CONNECT indication is sent, otherwise a
NO CARRIER indication is sent.
The file is received on the serial port.

Parameter:
<filename> - file name, string type.

Note: The command causes an ERROR result code to be returned in case
no FTP connection has been opened yet.

Note: Command closure should always be handled by application. In order
to avoid download stall situations a timeout should be implemented by the
application.


#FTPGET - FTP Get

SELINT 2

AT#FTPGET=
[<filename>]

Execution command, issued during an FTP connection, opens a data
connection and starts getting a file from the FTP server.
If the data connection succeeds a CONNECT indication is sent, otherwise a
NO CARRIER indication is sent.

Advertising