At+Ftpquit Quit Ftp Transfer Session - SimCom SIM5300E At Command Manual

Hide thumbs Also See for SIM5300E:
Table of Contents

Advertisement

Write Command
AT+FTPETPUT=<mode>[,<file
name>]
Parameter
Reference

11.2.26 AT+FTPQUIT Quit FTP transfer session

AT+FTPQUIT Quit FTP transfer session
Test Command
AT+FTPQUIT=?
SIM5300E AT Command Manual V1.02
Response
If mode is 1 and successfully open PUT session:
OK
+FTPETPUT:1,1
If mode is 1 and failed to open PUT session:
OK
+FTPETPUT:1,<error>
If mode is 2:
+FTPETPUT:2,1
...
//Input data
<ETX>
//To notify the module that all data has been sent, switch
from data mode to command mode
OK
If data transfer finished:
+FTPETPUT: 1,0
If data transfer failed:
+FTPETPUT: 1,<error>
<mode>
1
For opening FTPETPUT session.
2
For writing FTP upload data.
<error> See "AT+FTPEXTGET"
Note:
The TCP/IP stack will only interpret an <ETX> character as the end of
the file to be transferred if it's not preceded by a <DLE> character.
As a consequence the attached host must send <ETX> characters
preceded by <DLE> characters and it must also code <DLE>
characters in <DLE><DLE>.
Response
OK
205

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SIM5300E and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents