N11 V2
AT Command Manual
Copyright © Neoway Technology Co., Ltd
84
<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 exceed 1024.
Return Value
+FTPPUT: Error
: The format of the AT command is incorrect.
+FTPPUT: Error Not Login
: The user has not logged in to the FTP server.
+FTPPUT: AT Busy
: Last FTP AT command has not been executed
completely.
+FTPPUT: SIZE Error
: The value of
<length>
is greater than 1024.
+FTPPUT: OK,<n>
: The file is sent successfully and the file length is
n
.
+FTPPUT: Delete File OK
: The file is deleted successfully.
+FTPPUT: Error send data error
: An FTP command that cannot be identified
is entered. The module will disconnect to the FTP server proactively.
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=tt.txt,1,1,1024
>
+FTPPUT:OPERATION EXPIRED
After the uploading command is input
and > is returned, no more data is
entered in one minute. Then the
expiration information is displayed.
AT+FTPPUT=Test\test.txt,1,2,1024
>
+FTPPUT:OK,1024
Upload the test.txt file, which is 1024
bytes (to the Test folder in the root
directory of the FTP server). The file is
transferred in ASCII mode and operated
in APPE.
AT+FTPPUT=test.txt,1,3,0
+FTPPUT: Delete File OK
Delete the test.txt file.
Содержание N11 V2
Страница 1: ...N11 V2 AT Command Manual Issue 1 0 Date 2018 10 19 Neoway Product Document...
Страница 15: ...N11 V2 AT Command Manual Copyright Neoway Technology Co Ltd 7 OK Remarks The default status setting is 7...
Страница 129: ...N11 V2 AT Command Manual Copyright Neoway Technology Co Ltd 121 not support proactive time issuing...
Страница 134: ...N11 V2 AT Command Manual Copyright Neoway Technology Co Ltd 126...