6 ftp type - #ftptype – Rainbow Electronics GM862-QUAD-PY User Manual

Page 329

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 329 of 434

#FTPGET - FTP Get

SELINT 2

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.

AT#FTPGET=?

Test command returns the OK result code.

3.5.7.4.6 FTP Type - #FTPTYPE

#FTPTYPE - FTP Type

SELINT 0 / 1

AT#FTPTYPE[=
<type>]

Set command, issued during an FTP connection, sets the file transfer type.

Parameter:
<type> - file transfer type:
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.

#FTPTYPE?

Read command returns the current file transfer type, in the format:

#FTPTYPE: <type>

#FTPTYPE=?

Test command returns the range of available values for parameter <type>:

#FTPTYPE: (0,1)


#FTPTYPE - FTP Type

SELINT 2

AT#FTPTYPE=
[<type>]

Set command, issued during an FTP connection, sets the file transfer type.

Parameter:
<type> - file transfer type:
0 - binary
1 - ascii

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

#FTPTYPE?

Read command returns the current file transfer type, in the format:

Advertising