AirPrime HL76xx AT Commands Interface Guide Rev6 2

Table Of Contents
4118395 Rev 6.2 June 26, 2017 278
AT Commands Interface Guide
Protocol Specific Commands
HL7618, HL7618RD, HL7648, HL7650, HL7688, HL7690 and HL7692
Reference
Sierra Wireless
Proprietary
Notes
The write command sets the server name, login, password, port number and mode
for FTP operations.
This command (with <start> = 0) can be used before setting up +KCNXCFG. Note
however that the latter is required to start the connection properly.
The result of the FTP connection is notified using unsolicited response.
Example
AT+KFTPCFG=1,"ftp.connect.com","username","password",21,0
12.12.2. +KFTPCNX Command: Start FTP Connection
HL7618, HL7618RD, HL7648, HL7650, HL7688, HL7690 and HL7692
Test command
Syntax
AT+KFTPCNX=?
Response
+KFTPCNX: (list of possible <session_id>s)
OK
Write command
Syntax
AT+KFTPCNX=
<session_id>
Response
OK
or
NO CARRIER
+CME ERROR: <err>
+KFTP_ERROR: <session_id>,<ftp cause>
Parameters
<session_id> FTP session index
<ftp_cause> Integer type that indicates the cause of the FTP connection failure.
0 Sending or the retrieving was impossible due to request timeout
1 Impossible to connect to the server due to DNS resolution failure
2 Impossible to download a file due to connection troubles
3 Download was impossible due to connection timeout
4 No network available
5 Flash access trouble
6 Flash memory full
7 Network error
XXX Three-digit reply code from the FTP server. See section 18.2.5 FTP Reply Codes
Reference
Sierra Wireless
Proprietary
Notes
This command is used to start the FTP connection created by +KFTPCFG with
<start>=0.
+KFTPRCV, +KFTPSND, +KFTPDEL automatically starts the connection if it has
not been started using AT+KFTPCNX.
The result of the FTP connection is notified using unsolicited response.