At+Qftpmdtm Get The File Modification Time On Ftp Server - Quectel WCDMA UG FTP Series At Command Manual

Umts/hspa module
Table of Contents

Advertisement

<local_name>
<transfer_size>
<err>
<protocol_error>
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.
AT+QFTPMDTM Get the File Modification Time on FTP Server
Test Command
AT+QFTPMDTM=?
WCDMA_UGxx_FTP_AT_Commands_Manual
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)
Integer type, the size of transferred data from FTP server
Integer type, indicates the operation error code. It is the type of error (Please refer
to the Chapter 4)
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
Response
+QFTPMDTM: <file_name>
UMTS/HSPA Module Series
WCDMA UGxx FTP AT Commands Manual
Confidential / Released
31 / 44

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents