UMTS/HSPA Module Series
WCDMA UGxx FTP AT Commands Manual
WCDMA_UGxx_FTP_AT_Commands_Manual Confidential / Released 31 / 44
Example
//Get standardized file and directory information on FTP server and output to COM port.
AT+QFTPMLSD =“.”
CONNECT
<Output content data>
OK
+QFTPMLSD: 0,1000
//Get standardized file and directory information on FTP server and save to RAM.
AT+QFTPMLSD
=“TESTDIR“, “RAM:test2.txt”
OK
+QFTPMLSD: 0,1000
AT+QFLST=“RAM:*”
+QFLST: “RAM:test2.txt“,1000
OK
2.18. AT+QFTPMDTM Get the File Modification Time on FTP Server
Get the file modification time on FTP
server. If “OK” is returned, “+QFTPMDTM: 0,<modify_time>” or
“+QFTPMDTM: <err>,<protocol_error>” should be output in <timeout> set by AT+QFTPCFG. Otherwise,
you should close the FTP connection, deactivate and reactive the network.
<local_name>
String type, the local position to save data from FTP server. The maximum size of
the parameter is 60 bytes. The default value is “COM:”. If it is “COM:”, the data will
be output to COM port. If it starts with “RAM:”, the data will be saved to RAM.
Then you can read the file by AT+QFREAD (For more details, please refer to
Quectel_WCDMA_UGxx_FILE_AT_Commands_Manual
)
<transfer_size>
Integer type, the size of transferred data from FTP server
<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
AT+QFTPMDTM Get the File Modification Time on FTP Server
Test Command
AT+QFTPMDTM=?
Response
+QFTPMDTM: <file_name>
Quectel
Confidential