UMTS/HSPA Module Series
WCDMA UGxx FTP AT Commands Manual
WCDMA_UGxx_FTP_AT_Commands_Manual Confidential / Released 15 / 44
Parameter
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.
+QFTPPWD: 0,<path_name>
Else fail to get current directory:
+QFTPPWD: <err>,<protocol_error>
or
+CME ERROR: <err>
<path_name>
String type,
a directory path on FTP server. The root path of FTP server is “/”
<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+QFTPPUT Upload a File to FTP Server
Test Command
AT+QFTPPUT=?
Response
+QFTPPUT:
<file_name>,<local_name>,<startpos>,<uploadlen>,<beo
f>
Quectel
Confidential