SARA-R4/N4 series - AT Commands Manual
UBX-17003787 - R09
20 FTP
Page 216 of 307
Parameter
Type
Description
<ftp_data>
String
Data available from the FTP server in the ASCII [0x00,0xFF] range. The starting
quotation mark shall not be taken into account like data, the first byte of data starts
after the first quotation mark. The total number of bytes is <ftp_data_len>. At the
end of the byte stream, another quotation mark is provided for user convenience and
visualization purposes.
<ftp_result>
Number
•
0: fail
•
1: success
<md5_sum>
String
MD5 checksum of the FOTA update file downloaded via
AT command.
This parameter is issued only for
AT command.
<param1>
String
Content depend on related <op_code> (details are given above)
<param2>
String
Content depend on related <op_code> (details are given above)
<param3>
String
Content depend on related <op_code> (details are given above)
20.2.4 Notes
• If <op_code>=6 the user must switch off the direct link mode (s++ to the serial interface) when
the data stream is finished. This operation may take up to 10 s because the command also handles the
final steps of the FTP protocol.
SARA-R4 / SARA-N4
• <md5_sum> is not supported.
20.3 FTP error +UFTPER
+UFTPER
SARA-R404M SARA-R410M-01B SARA-R410M-02B SARA-R410M-52B SARA-R412M
Modules
SARA-N4
Syntax
PIN required
Settings saved Can be aborted
Response time Error reference
Attributes
full
No
No
No
-
20.3.1 Description
This command retrieves the error class and code of the last FTP operation.
20.3.2 Syntax
Type
Syntax
Response
Example
Action
AT+UFTPER
+UFTPER: <error_class>,<error_
code>
OK
+UFTPER: 1,1
OK
20.3.3 Defined values
Parameter
Type
Description
<error_class>
Number
Value of error class. Values are listed in
<error_code>
Number
Value of class-specific error code (reply code if <error_class> is 0). The values are
listed in