beautypg.com

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

Page 329

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:
- 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[=
]

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

Parameter:
- 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:

#FTPTYPE=?

Test command returns the range of available values for parameter :

#FTPTYPE: (0,1)


#FTPTYPE - FTP Type

SELINT 2

AT#FTPTYPE=
[]

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

Parameter:
- 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: