UMTS/HSPA Module Series
WCDMA UGxx FTP AT Commands Manual
WCDMA_UGxx_FTP_AT_Commands_Manual Confidential / Released 19 / 44
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
<downloadlen>
Integer type, the data length to download. It is valid only if <local_
name> is “COM:”. If
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
OK
If successfully download the file:
+QFTPGET: 0,<transferlen>
Else fail to download the file:
+QFTPGET: <err>,<protocol_error>
or
+CME ERROR: <err>
Write Command
AT+QFTPGET=<file_name>,<local_na
me>[,<startpos >]
<local_name> is not “COM:”
Response
OK
If successfully download the file:
+QFTPGET: 0,<transferlen>
Else fail to download the file:
+QFTPGET: <err>,<protocol_error>
or
+CME ERROR: <err>
Quectel
Confidential