![Neoway M590E Manual Download Page 48](http://html1.mh-extra.com/html/neoway/m590e/m590e_manual_1667872048.webp)
Neo_M590E V1 GPRS Module AT Command Set
Copyright © Neoway Technology Co., Ltd
43
1: ASCII
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.
Return Value
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.
Example
AT+FTPPUT=test.txt,1,1,1024
>
+FTPPUT:OK,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
>
+FTPPUT:OK,1024
Upload the
text.txt
file, which is 1024
bytes. The file is transferred in ASCII and
the operated in APPE.
AT+FTPPUT=test.txt,1,3,0
+FTPPUT:Delete File OK
Delete the
test.txt
file.
Remarks
No terminal display for input data.
5.5
Querying FTP Connection Status: +FTPSTATUS
Description
To query the FTP connection status
Format
AT+FTPSTATUS<CR>
Parameter
N/A
Return Value
+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
Example
AT+FTPSTATUS
+FTPSTATUS:login,219.134.179.521,21
The module is successfully connected to
the FTP server.
Remarks
N/A