
Neo_WM620 WCDMA Module AT Command Set
Copyright © Neoway Technology Co., Ltd
71
11 FTP AT Commands
11.1 Logging In to the FTP Server: +FTPLOGIN
Description
To log in to the FTP server
Format
AT+FTPLOGIN=<ip>,<port>,<user>,<pwd> <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
(,).
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:Error Connect Server Fail
: The user failed to log in to the FTP server for
other reasons.
Example
AT+FTPLOGIN=58.60.184.213,21,neowayft
p,neowayftp
OK
+FTPLOGIN:User logged in
Use the user name neowayftp and
password neowayftp to log in to the
server 58.60.184.213 through port 21.
Log in to the server successfully.
AT+FTPLOGIN=11.60.184.213,21,neowayft
p,neoway
OK
+FTPLOGIN:Error TimeOut
The IP address of the FTP server is
incorrect.
Fail to log in to the server.
AT+FTPLOGIN=58.60.184.213,23,neowayft
p,neowayftp
OK
+FTPLOGIN:Error TimeOut
Log in to the FTP server.
Fail to log in to the server because the
port is incorrect.
AT+FTPLOGIN=58.60.184.213,neowayftp,n
eowayftp
+FTPLOGIN:Error
The AT command format is incorrect.
AT+FTPLOGIN=58.60.184.213,21,neowayft
p,neoway
OK