N11 V2
AT Command Manual
Copyright © Neoway Technology Co., Ltd
79
12 FTP AT Commands
12.1 Logging In to the FTP Server: +FTPLOGIN
Description
To log in to the FTP server
Format
AT+FTPLOGIN=<ip>,<port>,<user>,<pwd>[,<type>]<CR>
Parameter
<ip>:FTP server address
<port>: Port ID of the FTP server, 21
<user>: The user name to log in to the FTP server. The length of the user name
cannot exceed 100 bytes in ASCII code and the user name cannot contain comma
(,).
<pwd>: The password for the user account to log in to the FTP server. The length
of the password cannot exceed 100 bytes in ASCII code and the password cannot
contain comma (,).
<type>: File transmission mode
0: passive (default)
1: active
Return Value
+FTPLOGIN: Error
: The format of the AT command is incorrect
+FTPLOGIN: Have Logged In
: The user has logged in to the FTP server.
+FTPLOGIN: AT Busy
: Last FTP AT command has not been executed
completely.
+FTPLOGIN: User logged in
: The user logged in to the FTP server
successfully.
+FTPLOGIN: 530 Not logged in:
The user failed to log in to the FTP server
because the user account or password is incorrect.
+FTPLOGIN: GPRS DISCONNECTION
: The user logged in to the FTP servr
before a PPP link is set up.
Example
At+FTPLOGIN=219.134.179.52,21,user1,pwd2009
OK
+FTPLOGIN:User logged in
user1 logs in to the server
219.134.179.52
through
port 21 successfully. And
the password for user1 is
pwd2009.
AT+FTPLOGIN=58.60.184.213,21,neoway,neoway
OK
Fails to log in to the FTP
server
using
neoway
Содержание 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...