Neo_WM620 WCDMA Module AT Command Set
Copyright © Neoway Technology Co., Ltd
72
+FTPLOGIN:530 Not logged in
Fail to log in to the server because the
user name or password is incorrect.
AT+FTPLOGIN=neowayjsr.oicp.net,21,neow
ay,neoway
OK
+FTPLOGIN:User logged in
Log in to the FTP server through its
domain name.
Remarks
You can read or write data on the FTP server only after you logged in to the FTP server.
You must execute
AT+XIIC=1
before logging in to the FTP server.
11.2 Logging Out from the FTP Server: +FTPLOGOUT
Description
To log out from the FTP server
Format
AT+FTPLOGOUT<CR>
Parameter
N/A
Return
Value
See the Example.
Example
AT+FTPLOGOUT
+FTPLOGOUT:User logged out
OK
Log out from the FTP server
Remarks
N/A
11.3 Downloading Data from the FTP Server: +FTPGET
Description
To download data from the FTP server
Format
AT+FTPGET=<dir&filename>,<type>,<Content or Info> [,<offset>,<len>]<CR>
Parameter
<Dir&filename>: Path and name of the file to be read
(Note: The file directory under the FTP root directory)
<Type>: File transfer mode
1: ASCII
2: Binary
<Content or Info>: File content or file (or specified directory) information
1: Obtain the file content
2: Obtain the information of the file or the specified path
<offset>: The down load offset
<len>: The length of the download data
If the value is 0, it indicates the size of the download file minus the offset.