![Neoway M590E Manual Download Page 45](http://html1.mh-extra.com/html/neoway/m590e/m590e_manual_1667872045.webp)
Neo_M590E V1 GPRS Module AT Command Set
Copyright © Neoway Technology Co., Ltd
40
5
FTP AT Commands
5.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 in general
<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: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
: Failed to connect the FTP server.
+FTPLOGIN:Error
TimeOut
: Logging exceeds 30 seconds.
+FTP:Server Control Link Disconnect
+FTP:Server Data Link Disconnect
: Connected to the FTP server successfully and
then the connection disconnected.
Example
At+FTPLOGIN=219.134.179.52,21,user1,p
wd2009
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=219.134.179.52,21,user1,p
wd2009
OK
+FTPLOGIN:Error Connect Server Fail
Failed to log in to the FTP server because
the PPP is not activated or the server
didn’t respond.
AT+FTPLOGIN=58.60.184.213,21,neowayf
tp,neoway
OK
+FTPLOGIN:530 Not logged in
Failed to log in to the FTP server because
the password is incorrect.
AT+FTPLOGIN=58.60.184.213,21,neowayf
tp,neowayftp
+FTPLOGIN:Have Logged In
The user has logged in to the FTP server.