summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLukasz Marek <lukasz.m.luki@gmail.com>2013-05-15 16:08:11 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-05-18 22:16:02 +0200
commitc86d3a54dedc4dbf37a84a3559facb7e7ad8ef9f (patch)
tree3ca1d0184cbc7c2aa32a2153729bcefa3e04744e /doc
parent9f88db5df1410c6b9f08be77fa119009f63106a6 (diff)
FTP protocol support
Implementation of ftp protocol. Fixes #1672 Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc')
-rw-r--r--doc/protocols.texi34
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi
index 0c56b8b510..a91103af66 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -100,6 +100,40 @@ The ff* tools default to the file protocol, that is a resource
specified with the name "FILE.mpeg" is interpreted as the URL
"file:FILE.mpeg".
+@section ftp
+
+FTP (File Transfer Protocol)
+
+Allow to read from or write to remote resources using FTP protocol.
+
+Following syntax is required.
+@example
+ftp://[user[:password]@@]server[:port]/path/to/remote/resource.mpeg
+@end example
+
+This protocol accepts the following options.
+
+@table @option
+@item timeout
+Set timeout of socket I/O operations used by the underlying low level
+operation. By default it is set to -1, which means that the timeout is
+not specified.
+
+@item ftp-anonymous-password
+Password used when login as anonymous user. Typically an e-mail address
+should be used.
+
+@item ftp-write-seekable
+Control seekability of connection during encoding. If set to 1 the
+resource is supposed to be seekable, if set to 0 it is assumed not
+to be seekable. Default value is 0.
+@end table
+
+NOTE: Protocol can be used as output, but it is recommended to not do
+it, unless special care is taken (tests, customized server configuration
+etc.). Different FTP servers behave in different way during seek
+operation. ff* tools may produce incomplete content due to server limitations.
+
@section gopher
Gopher protocol.