Neo_M590E V1 GPRS Module AT Command Set
Copyright © Neoway Technology Co., Ltd
42
successfully.
Example
AT+FTPGET=,1,2
+FTPGET:446,drw-rw-rw- 1 user group 0
Apr 14 15:55 .
drw-rw-rw- 1 user group 0 Apr 14
15:55 ..
-rw-rw-rw- 1 user group 1238528 Jan 14 10:36
1M.doc
-rw-rw-rw- 1 user group 10 Jan 15 15:01
test.txt
+FTPGET:OK.total length is 446
Obtain information in
the root directory.
AT+FTPGET=test.txt,1,2
+FTPGET:65,-rw-rw-rw- 1 user group 10 Jan
15 15:01 test.txt
+FTPGET:OK.total length is 65
Obtain the information
about
test.txt
.
AT+FTPGET=test.txt,1,1
+FTPGET:10,0123456789
+FTPGET:OK.total length is 10
Obtain the information
in
test.txt
.
AT+FTPGET=test.txt,1,1,2
+FTPGET:8,23456789
+FTPGET:OK.total length is 8
Obtain file content
starting from the 2nd
byte.
AT+FTPGET=test.txt,1,1,2,4
+FTPGET:4,2345
+FTPGET:OK.total length is 4
Obtain the information
of the 4
th
byte counting
since second byte.
AT+FTPGET=test.txt,1,3
+FTPGET:OK.file length is 10
Obtain the file length of
test.txt.
Remarks
N/A
5.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
<type>: File transfer mode