At+Qftpput Upload A File To Ftp Server - Quectel WCDMA UG FTP Series At Command Manual

Umts/hspa module
Table of Contents

Advertisement

Parameter
<path_name>
<err>
<protocol_error>

2.5. AT+QFTPPUT Upload a File to FTP Server

Upload file to FTP server. The file data can be uploaded from COM port, and the module will enter into
data mode, you may input "+++" to abort the file uploading. You can also upload a local file to FTP server.
The file can be RAM file. You can upload a file to RAM by AT+QFUPL (For details, please refer to
Quectel_WCDMA_UGxx_FILE_AT_Commands_Manual). And then use QFTPPUT command to upload it
to FTP server, after uploading file successfully, you can delete the file by AT+QFDEL (For details, please
refer to Quectel_WCDMA_UGxx_FILE_AT_Commands_Manual).
You can upload a file from specified file position by the <startpos> parameter. If the <local_name> is
"COM:", "CONNECT" should be output in <timeout> set by AT+QFTPCFG. If the <local_name> is not
"COM:", "OK" will be output first, +QFTPPUT: 0,<transferlen> will be output after data being transferred
completely.
If the module has entered data mode, the <timeout> set by AT+QFTPCFG indicates the maximum interval
time between two packets of received/transmitted data. If the <local name> is not "COM:", the <timeout>
set by AT+QFTPCFG indicates the maximum interval time between two packets of received/transmitted
data.
AT+QFTPPUT Upload a File to FTP Server
Test Command
AT+QFTPPUT=?
WCDMA_UGxx_FTP_AT_Commands_Manual
+QFTPPWD: 0,<path_name>
Else fail to get current directory:
+QFTPPWD: <err>,<protocol_error>
or
+CME ERROR: <err>
String type, a directory path on FTP server. The root path of FTP server is "/"
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
+QFTPPUT:
<file_name>,<local_name>,<startpos>,<uploadlen>,<beo
f>
UMTS/HSPA Module Series
WCDMA UGxx FTP AT Commands Manual
Confidential / Released
15 / 44

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents