User Manual

Table Of Contents
SARA-R4 series-AT commands manual
UBX-17003787 - R16
21FTP
Page 256 of 401
Parameter Type Description
7: remote FTP server listening port
8: control connection security
9: timer trigger
10: data length trigger
11: character trigger
12: data connection security
Allowed values:
SARA-R410M-63B / SARA-R410M-73B / SARA-R410M-83B - 0, 1, 2, 3, 4, 5, 6, 7, 8, 12
SARA-R410M-02B / SARA-R410M-52B / SARA-R412M / SARA-N4 - 0, 1, 2, 3, 4, 5, 6,
7, 8
SARA-R404M / SARA-R410M-01B - 0, 1, 2, 3, 4, 5, 6, 7
<IP_address> String FTP server IP address. The default value is an empty string. For IP address format
reference see the IP addressing.
<server_name> String FTP server name (e.g. "ftp.server.com"). The maximum length is 128 characters. The
default value is an empty string.
<username> String User name (the maximum length is 30 characters) for the FTP login procedure. The
default value is an empty string.
<password> String Password (the maximum length is 30 characters) for the FTP login procedure. The
default value is an empty string.
<account> String Additional user account (if required) for the FTP login procedure. The maximum
length is 30 characters. The default value is an empty string.
<timeout> Number Inactivity timeout period in seconds. The range goes from 0 to 86400 s; 0 means no
timeout (the FTP session will not be terminated in the absence of incoming traffic).
The default value is 30 s.
<FTP_mode> Number FTP mode:
0 (default value): active
1: passive
<FTP_server_port> Number Remote FTP server listening port; it must be a valid TCP port value. The range goes
from 1 to 65535; the default value is 21.
<FTP_secure> Number Enables / disables the secure option of FTP client service:
0 (default value): no SSL encryption
1: enable SSL encryption of FTP (control connection or data connection)
<USECMNG_profile> Number USECMNG profile (number). Defines the USECMNG profile which specifies the SSL/
TLS properties to be used for the SSL/TLS connection. The range goes from 0 to 4. If
no profile is set a default USECMNG profile is used (see USECMNG section).
<timer_trigger> Number Enhanced direct link sending timer trigger (in milliseconds); valid range is 0 (factory-
programmed value), 100-120000; 0 means trigger disabled.
<data_length_
trigger>
Number Enhanced direct link data length trigger in bytes, valid range is 0 (factory-
programmed value), 3-2048; 0 means trigger disabled.
<character_trigger> Number Enhanced direct link character trigger, the value represents the ASCII code (in base 10
) of the character to be used as character trigger. The allowed range is -1, 0-255, the
factory-programmed value is -1; -1 means trigger disabled.
<param1> Number /
String
Type and supported content depend on related <op_code> (details are given above).
If <param1> is not specified the value of the corresponding parameter <op_code> is
reset to default value.
<param2> Number /
String
Type and supported content depend on related <op_code> (details are given above).
If <param2> is not specified the value of the corresponding parameter <op_code> is
reset to default value.
21.1.4Notes
The information text response to the read command does not display the password.
The FTP server IP address and the FTP server name are mutually exclusive. If value for <op_code>=0 is
specified by user, then value for <op_code>=1 is reset or vice versa.
Some network operators do not allow incoming connections. Due to these limitations introduced by
network operators it is possible to encounter problems using FTP active mode. If the FTP active mode
fails to exchange files, try the passive mode to solve the problem.
Some network operators do not allow FTPS. In this case the +UFTPC=1 command (FTP login) will return
a failure response via +UUFTPCR URC after an SSL timeout of 30 s.