Neo_M660 AT Command Set
Copyright © Neoway Technology Co., Ltd
62
-rw-rw-rw- 1 user group 10 Jan 15 15:01 test.txt
+FTP:Server Data Link Disconnect
+FTPGET:OK.total length is 446
AT+FTPGET=test.txt,1,2
+FTPGET:65,-rw-rw-rw- 1 user group 10 Jan 15 15:01
test.txt
+FTP:Server Data Link Disconnect
+FTPGET:OK.total length is 65
Obtain the
information
about
test.txt
.
AT+FTPGET=test.txt,1,1
+FTPGET:10,1234567890
+FTPGET:OK.total length is 10
+FTP:Server Data Link Disconnect
Obtain the
information
in
test.txt
.
Remarks
There is an 8-second delay from the last frame data to
+FTPGET:OK.total length is <n>
to
ensure
the reliability of data transmission.
Do not perform next FTP operation until
+FTPGET:OK.total length is <n>
is displayed.
11.4 Uploading Data from the FTP Server: +FTPPUT
Description
To upload data to the FTP server
Format
AT+FTPPUT=<filename>,<type>,<mode>,<size><CR>
Parameter
<filename>: The name of the file to be uploaded
<type>: File transfer mode
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.
<size>: Data length. The data length cannot exceeds 1024.