• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5<title>curlsftpsink: GStreamer Bad Plugins 1.0 Plugins Reference Manual</title>
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="index.html" title="GStreamer Bad Plugins 1.0 Plugins Reference Manual">
8<link rel="up" href="ch01.html" title="gst-plugins-bad Elements">
9<link rel="prev" href="gst-plugins-bad-plugins-curlhttpsrc.html" title="curlhttpsrc">
10<link rel="next" href="gst-plugins-bad-plugins-curlsmtpsink.html" title="curlsmtpsink">
11<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
12<link rel="stylesheet" href="style.css" type="text/css">
13</head>
14<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16<td width="100%" align="left" class="shortcuts">
17<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span18                  <a href="#gst-plugins-bad-plugins-curlsftpsink.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span19                  <a href="#gst-plugins-bad-plugins-curlsftpsink.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span20                  <a href="#gst-plugins-bad-plugins-curlsftpsink.properties" class="shortcut">Properties</a></span>
21</td>
22<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
23<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
24<td><a accesskey="p" href="gst-plugins-bad-plugins-curlhttpsrc.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
25<td><a accesskey="n" href="gst-plugins-bad-plugins-curlsmtpsink.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
26</tr></table>
27<div class="refentry">
28<a name="gst-plugins-bad-plugins-curlsftpsink"></a><div class="titlepage"></div>
29<div class="refnamediv"><table width="100%"><tr>
30<td valign="top">
31<h2><span class="refentrytitle"><a name="gst-plugins-bad-plugins-curlsftpsink.top_of_page"></a>curlsftpsink</span></h2>
32<p>curlsftpsink — sink that uploads data to a server using libcurl</p>
33</td>
34<td class="gallery_image" valign="top" align="right"></td>
35</tr></table></div>
36<div class="refsect1">
37<a name="gst-plugins-bad-plugins-curlsftpsink.properties"></a><h2>Properties</h2>
38<div class="informaltable"><table class="informaltable" border="0">
39<colgroup>
40<col width="150px" class="properties_type">
41<col width="300px" class="properties_name">
42<col width="200px" class="properties_flags">
43</colgroup>
44<tbody><tr>
45<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
46<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-curlsftpsink.html#GstCurlSftpSink--create-dirs" title="The “create-dirs” property">create-dirs</a></td>
47<td class="property_flags">Read / Write</td>
48</tr></tbody>
49</table></div>
50</div>
51<a name="GstCurlSftpSink"></a><div class="refsect1">
52<a name="gst-plugins-bad-plugins-curlsftpsink.other"></a><h2>Types and Values</h2>
53<div class="informaltable"><table class="informaltable" width="100%" border="0">
54<colgroup>
55<col width="150px" class="name">
56<col class="description">
57</colgroup>
58<tbody><tr>
59<td class="datatype_keyword">struct</td>
60<td class="function_name"><a class="link" href="gst-plugins-bad-plugins-curlsftpsink.html#GstCurlSftpSink-struct" title="struct GstCurlSftpSink">GstCurlSftpSink</a></td>
61</tr></tbody>
62</table></div>
63</div>
64<div class="refsect1">
65<a name="gst-plugins-bad-plugins-curlsftpsink.object-hierarchy"></a><h2>Object Hierarchy</h2>
66<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
67    <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
68        <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstObject.html#GstObject-struct">GstObject</a>
69            <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstElement.html#GstElement-struct">GstElement</a>
70                <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-libs-1.0/GstBaseSink.html#GstBaseSink-struct">GstBaseSink</a>
71                    <span class="lineart">╰──</span> GstCurlBaseSink
72                        <span class="lineart">╰──</span> GstCurlSshSink
73                            <span class="lineart">╰──</span> GstCurlSftpSink
74</pre>
75</div>
76<div class="refsect1">
77<a name="gst-plugins-bad-plugins-curlsftpsink.description"></a><h2>Description</h2>
78<p>This is a network sink that uses libcurl as a client to upload data to
79a SFTP (SSH File Transfer Protocol) server.</p>
80<div class="refsect3">
81<a name="id-1.2.43.7.3"></a><h4>Example launch line</h4>
82<p>Upload a file to /home/john/sftp_tests/</p>
83<div class="informalexample">
84  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
85    <tbody>
86      <tr>
87        <td class="listing_lines" align="right"><pre>1
882
893
904
915
926
937</pre></td>
94        <td class="listing_code"><pre class="programlisting">gst<span class="gtkdoc opt">-</span>launch<span class="gtkdoc opt">-</span><span class="number">1.0</span> filesrc location<span class="gtkdoc opt">=/</span>home<span class="gtkdoc opt">/</span>jdoe<span class="gtkdoc opt">/</span>some<span class="gtkdoc opt">.</span>file <span class="gtkdoc opt">!</span> curlsftpsink  \
95    file<span class="gtkdoc opt">-</span>name<span class="gtkdoc opt">=</span>some<span class="gtkdoc opt">.</span>file<span class="gtkdoc opt">.</span>backup  \
96    user<span class="gtkdoc opt">=</span>john location<span class="gtkdoc opt">=</span>sftp<span class="gtkdoc opt">:</span><span class="gtkdoc slc">//192.168.0.1/~/sftp_tests/  \</span>
97    ssh<span class="gtkdoc opt">-</span>auth<span class="gtkdoc opt">-</span>type<span class="gtkdoc opt">=</span><span class="number">1</span> ssh<span class="gtkdoc opt">-</span>key<span class="gtkdoc opt">-</span>passphrase<span class="gtkdoc opt">=</span>blabla  \
98    ssh<span class="gtkdoc opt">-</span>pub<span class="gtkdoc opt">-</span>keyfile<span class="gtkdoc opt">=/</span>home<span class="gtkdoc opt">/</span>jdoe<span class="gtkdoc opt">/.</span>ssh<span class="gtkdoc opt">/</span>id_rsa<span class="gtkdoc opt">.</span>pub  \
99    ssh<span class="gtkdoc opt">-</span>priv<span class="gtkdoc opt">-</span>keyfile<span class="gtkdoc opt">=/</span>home<span class="gtkdoc opt">/</span>jdoe<span class="gtkdoc opt">/.</span>ssh<span class="gtkdoc opt">/</span>id_rsa  \
100    create<span class="gtkdoc opt">-</span>dirs<span class="gtkdoc opt">=</span>TRUE</pre></td>
101      </tr>
102    </tbody>
103  </table>
104</div>
105
106<p></p>
107</div>
108<div class="refsynopsisdiv">
109<h2>Synopsis</h2>
110<div class="refsect2">
111<a name="id-1.2.43.7.4.1"></a><h3>Element Information</h3>
112<div class="variablelist"><table border="0" class="variablelist">
113<colgroup>
114<col align="left" valign="top">
115<col>
116</colgroup>
117<tbody>
118<tr>
119<td><p><span class="term">plugin</span></p></td>
120<td>
121            <a class="link" href="gst-plugins-bad-plugins-plugin-curl.html#plugin-curl">curl</a>
122          </td>
123</tr>
124<tr>
125<td><p><span class="term">author</span></p></td>
126<td>Sorin L. &lt;sorin@axis.com&gt;</td>
127</tr>
128<tr>
129<td><p><span class="term">class</span></p></td>
130<td>Sink/Network</td>
131</tr>
132</tbody>
133</table></div>
134</div>
135<hr>
136<div class="refsect2">
137<a name="id-1.2.43.7.4.2"></a><h3>Element Pads</h3>
138<div class="variablelist"><table border="0" class="variablelist">
139<colgroup>
140<col align="left" valign="top">
141<col>
142</colgroup>
143<tbody>
144<tr>
145<td><p><span class="term">name</span></p></td>
146<td>sink</td>
147</tr>
148<tr>
149<td><p><span class="term">direction</span></p></td>
150<td>sink</td>
151</tr>
152<tr>
153<td><p><span class="term">presence</span></p></td>
154<td>always</td>
155</tr>
156<tr>
157<td><p><span class="term">details</span></p></td>
158<td>ANY</td>
159</tr>
160</tbody>
161</table></div>
162</div>
163</div>
164</div>
165<div class="refsect1">
166<a name="gst-plugins-bad-plugins-curlsftpsink.functions_details"></a><h2>Functions</h2>
167<p></p>
168</div>
169<div class="refsect1">
170<a name="gst-plugins-bad-plugins-curlsftpsink.other_details"></a><h2>Types and Values</h2>
171<div class="refsect2">
172<a name="GstCurlSftpSink-struct"></a><h3>struct GstCurlSftpSink</h3>
173<pre class="programlisting">struct GstCurlSftpSink;</pre>
174</div>
175</div>
176<div class="refsect1">
177<a name="gst-plugins-bad-plugins-curlsftpsink.property-details"></a><h2>Property Details</h2>
178<div class="refsect2">
179<a name="GstCurlSftpSink--create-dirs"></a><h3>The <code class="literal">“create-dirs”</code> property</h3>
180<pre class="programlisting">  “create-dirs”              <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
181<p>Attempt to create missing directories.</p>
182<p>Flags: Read / Write</p>
183<p>Default value: FALSE</p>
184</div>
185</div>
186</div>
187<div class="footer">
188<hr>Generated by GTK-Doc V1.28</div>
189</body>
190</html>