Quectel WCDMA UG FTP Series At Command Manual page 20

Umts/hspa module
Table of Contents

Advertisement

Write Command
AT+QFTPGET=<file_name>,<local_na
me>[,<startpos >]
<local_name> is not "COM:"
Parameter
<file_name>
String type, the file name in FTP server. The maximum size of the parameter is 50
bytes
<local_name>
String type, the local file name. The maximum size of the parameter is 60 bytes. If it is
"COM:", the file data will be output to COM port. If it starts with "RAM:", the file will be
saved to RAM. It is strongly recommended to save the file in RAM. Then you can
read the file by AT+QFREAD (For details, please refer to Quectel_WCDMA_UGxx_
FILE_AT_Commands_Manual)
<startpos>
Integer type, the start position of file to get. The default value is 0
Integer type, the data length to download. It is valid only if <local_name> is "COM:". If
<downloadlen>
this parameter is specified, module will output <downloadlen> bytes to COM and exit
from data mode. You can continue to get data from <startpos> by the same AT
command if there is data left
<transferlen>
Integer type, the actually transferred data length. If it is less than <downloadlen>, it
means the whole file is transferred completely
<err>
Integer type, indicates the operation error code. It is the type of error (Please refer to
the Chapter 4)
<protocol_error> Integer type, for reference only, indicates the original error code from FTP server
which is defined in FTP protocol (Please refer to Chapter 5). If it is 0, it is meaningless
WCDMA_UGxx_FTP_AT_Commands_Manual
WCDMA UGxx FTP AT Commands Manual
OK
If successfully download the file:
+QFTPGET: 0,<transferlen>
Else fail to download the file:
+QFTPGET: <err>,<protocol_error>
or
+CME ERROR: <err>
Response
OK
If successfully download the file:
+QFTPGET: 0,<transferlen>
Else fail to download the file:
+QFTPGET: <err>,<protocol_error>
or
+CME ERROR: <err>
Confidential / Released
UMTS/HSPA Module Series
19 / 44

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents