Neo_M590E V1 GPRS Module AT Command Set
Copyright © Neoway Technology Co., Ltd
2: Binary
<mode>: Operation mode
1: STOR mode. Create a file on the FTP server and write the data to the file. If the file
exists, the original file will be overwritten.
2: APPE mode. Create a file on the FTP server and write the data to the file. If the file
exists, the data is attached to the end of the file.
3: DELE mode. Delete a file. You need to set size to 0, and then enter 0x0d after > is
displayed.
<size>: Data length. The data length cannot exceed 3072.
Error
: The format of the AT command is incorrect.
+FTPPUT:Error Not Login
: The user has not logged in to the FTP server.
+FTPPUT:length overflow
: The value of
<length>
is greater than 3072.
+FTPPUT:OK,<n>
: The file is sent successfully and the file length is
n
.
+FTPPUT:Delete File OK
: The file is deleted successfully.
AT+FTPPUT=test.txt,1,1,1024
Upload the
text.txt
file, which is 1024
bytes. The file is transferred in ASCII and
the operated in STORE.
AT+FTPPUT=test.txt,1,2,1024
Upload the
text.txt
file, which is 1024
bytes. The file is transferred in ASCII and
the operated in APPE.
Delete the
test.txt
file.
No terminal display for input data.
5.5 Querying FTP Connection Status: +FTPSTATUS
To query the FTP connection status
+FTPSTATUS:<status>,<ip>, <port>
<status>:
logout: The FTP connection has not been set up.
login: The FTP connection has been set up.
<ip>: The IP address of the FTP server
<port>: The port of the FTP server
+FTPSTATUS:login,219.134.179.521,21
The module is successfully connected to
the FTP server.