Smart Machine Smart Decision
SIM7000 Series_AT Command Manual_V1.03 177 2018-05-08
11.2.15 AT+FTPPUT Set Upload File
AT+FTPPUT Set Upload File
Test Command
AT+FTPPUT=?
Response
OK
Write Command
AT+FTPPUT=<
mode>[,<reqleng
th>]
Response
If mode is 1 and it is a successful FTP get session:
OK
+FTPPUT: 1,1,<maxlength>
If mode is 1 and it is a failed FTP get session:
OK
+FTPPUT: 1,<error>
If mode is 2 and <reqlength> is not 0
+FTPPUT: 2,<cnflength>
…… //Input data
OK
+FTPPUT: 1,1,1360
If mode is 2 and <reqlength
> is 0, it will respond OK, and FTP session will
be closed
OK
If data transfer finished.
+FTPPUT: 1,0
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<mode> 1 For opening FTP put session
2 For writing FTP upload data.
<reqlength> Requested number of data bytes(0-<maxlength>) to be
transmitted
<cnflength> Confirmed number of data bytes to be transmitted
<maxlength> The max length of data can be sent at a time. It depends on
the network status.
<error> See "AT+FTPGET"
Mode
NO_SAVE
75 seconds(In case no response is received from server)