Copyright © Neoway Technology Co., Ltd
12 FTP AT Commands
12.1 Logging In to the FTP Server: +FTPLOGIN
To log in to the FTP server
AT+FTPLOGIN=<ip>,<port>,<user>,<pwd>[,<type>]<CR>
<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
+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.
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