From 55fcfd11890423cf77a2486223dede13cfdb9807 Mon Sep 17 00:00:00 2001
From: Hans Nilsson
Date: Mon, 18 Jun 2018 18:41:54 +0200
Subject: ftp: Socket options
---
lib/inets/doc/src/ftp.xml | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
(limited to 'lib/inets/doc/src')
diff --git a/lib/inets/doc/src/ftp.xml b/lib/inets/doc/src/ftp.xml
index 42bece4d38..126f415e81 100644
--- a/lib/inets/doc/src/ftp.xml
+++ b/lib/inets/doc/src/ftp.xml
@@ -548,11 +548,12 @@
start_option() = {verbose, verbose()} | {debug, debug()}
verbose() = boolean() (default is false)
debug() = disable | debug | trace (default is disable)
- open_option() = {ipfamily, ipfamily()} | {port, port()} | {mode, mode()} | {tls, tls_options()} | {timeout, timeout()} | {dtimeout, dtimeout()} | {progress, progress()}
+ open_option() = {ipfamily, ipfamily()} | {port, port()} | {mode, mode()} | {tls, tls_options()} | {timeout, timeout()} | {dtimeout, dtimeout()} | {progress, progress() | {sock_ctrl, sock_opts()} | {sock_data_act, sock_opts()} | {sock_data_pass, sock_opts()} }
ipfamily() = inet | inet6 | inet6fb4 (default is inet)
port() = integer() > 0 (default is 21)
mode() = active | passive (default is passive)
tls_options() = [ssl:ssloption()]
+ sock_opts() = [gen_tcp:option() except for ipv6_v6only, active, packet, mode and header
timeout() = integer() > 0 (default is 60000 milliseconds)
dtimeout() = integer() > 0 | infinity (default is infinity)
pogress() = ignore | {module(), function(), initial_data()} (default is ignore)
@@ -575,6 +576,11 @@
is used for securing both the control connection and the data sessions.
+ The options sock_ctrl, sock_data_act and sock_data_pass passes options down to
+ the underlying transport layer (tcp). The default value for sock_ctrl is []. Both
+ sock_data_act and sock_data_pass uses the value of sock_ctrl as default value.
+
+
A session opened in this way is closed using function
close.
--
cgit v1.2.3