User Manual

Table Of Contents
SARA-R4 series-AT commands manual
UBX-17003787 - R16
21FTP
Page 255 of 401
Type Syntax Response Example
OK
FTP mode
Set AT+UFTP=6[,<FTP_mode>] OK AT+UFTP=6,1
OK
FTP server port
Set AT+UFTP=7[,<FTP_server_port>] OK AT+UFTP=7,30
OK
FTP control connection security
Set AT+UFTP=8[,<FTP_secure>[,
<USECMNG_profile>]]
OK AT+UFTP=8,1,2
OK
Timer trigger configuration for Direct Link
Set AT+UFTP=9,<timer_trigger> OK AT+UFTP=9,500
OK
Data length trigger configuration for Direct Link
Set AT+UFTP=10,<data_length_trigger> OK AT+UFTP=10,1024
OK
Character trigger configuration for Direct Link
Set AT+UFTP=11,<character_trigger> OK AT+UFTP=11,13
OK
FTP data connection security
Set AT+UFTP=12[,<FTP_secure>[,
<USECMNG_profile>]]
OK AT+UFTP=12,1,2
OK
Read AT+UFTP? +UFTP: 0,<IP_address>
+UFTP: 1,<server_name>
+UFTP: 2,<username>
+UFTP: 4,<account>
+UFTP: 5,<timeout>
+UFTP: 6,<FTP_mode>
+UFTP: 7,<FTP_server_port>
+UFTP: 8,<FTP_secure>[,
<USECMNG_profile>]
+UFTP: 9,<timer_trigger>
+UFTP: 10,<data_length_trigger>
+UFTP: 11,<character_trigger>
+UFTP: 12,<FTP_secure>[,
<USECMNG_profile>]
OK
+UFTP: 0,"216.239.59.147"
+UFTP: 1,""
+UFTP: 2,"username"
+UFTP: 4,"account"
+UFTP: 5,0
+UFTP: 6,0
+UFTP: 7,21
+UFTP: 8,0
+UFTP: 9,500
+UFTP: 10,1024
+UFTP: 11,13
+UFTP: 12,0
OK
Test AT+UFTP=? +UFTP: (list of supported <param_
tag>s)
OK
+UFTP: (0-11)
OK
21.1.3Defined values
Parameter Type Description
<op_code> String FTP parameter:
0: FTP server IP address
1: FTP server name
2: FTP username
3: FTP password
4: FTP additional user account
5: FTP inactivity timeout period
6: FTP mode