N11 V2
AT Command Manual
Copyright © Neoway Technology Co., Ltd
83
AT+FTPGET=hellotest.txt,1,1,1000
+FTPGET:24,01234567890123456789end!
+FTP:Server Data Link Disconnect
+FTPGET:OK.partial length is 24
Obtain
file
content starting
from the 1000
th
byte. The length
of hellotest.txt is
1024 bytes.
AT+FTPGET=Test\hello.txt,1,1
+FTPGET:10,1234567890
+FTP:Server Data Link Disconnect
+FTPGET:OK.total length is 10
Obtain
the
information in the
hello.text file in
the Test folder.
AT+FTPGET=200K.txt,1,1,0,3072
+FTPGET:
3072,#01%456789adcdefghij0123456789adcdefghij0123456
789
Obtain
3072
bytes from the
start point in
200K.txt.
AT+FTPGET=200K.txt,1,1,0,3074
ERROR
<len>
vaule
exceeds
the
threshold.
AT+FTPGET=\TEST\test\zhang\pv.txt,1,1
+FTP:Create data link Error
Fail to set up
data link.
AT+FTPGET=TEST\test\zhang\pv.txt,1,1,1024
+FTPGET:SIZE Error
The value of
<size> exceeds
its range.
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.
This command supports data download from cascading directories.
12.4 Uploading Data to 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