Add to git.
[pthrlib.git] / doc / ftpc_put.3.html
1 <html>
2 <head>
3 <meta name="generator" content="groff -Thtml, see www.gnu.org">
4 <meta name="Content-Style" content="text/css">
5 <title>ftpc_get</title>
6 </head>
7 <body>
8
9 <h1 align=center>ftpc_get</h1>
10 <a href="#NAME">NAME</a><br>
11 <a href="#SYNOPSIS">SYNOPSIS</a><br>
12 <a href="#DESCRIPTION">DESCRIPTION</a><br>
13 <a href="#RETURNS">RETURNS</a><br>
14 <a href="#AUTHOR">AUTHOR</a><br>
15 <a href="#LICENSE">LICENSE</a><br>
16 <a href="#VERSION">VERSION</a><br>
17
18 <hr>
19 <!-- Creator     : groff version 1.17.2 -->
20 <!-- CreationDate: Fri Aug 30 16:16:18 2002 -->
21 <a name="NAME"></a>
22 <h2>NAME</h2>
23 <table width="100%" border=0 rules="none" frame="void"
24        cols="2" cellspacing="0" cellpadding="0">
25 <tr valign="top" align="left">
26 <td width="10%"></td><td width="90%">
27 ftpc_get, ftpc_put - Download or upload a file.</td></table>
28 <a name="SYNOPSIS"></a>
29 <h2>SYNOPSIS</h2>
30
31 <table width="100%" border=0 rules="none" frame="void"
32        cols="2" cellspacing="0" cellpadding="0">
33 <tr valign="top" align="left">
34 <td width="10%"></td><td width="90%">
35 <pre><b>#include &lt;pthr_ftpc.h&gt;
36
37 int ftpc_get (ftpc ftpc, const char *remote_file, const char *local_file);
38 int ftpc_put (ftpc ftpc, const char *local_file, const char *remote_file);
39 </b></pre></td></table>
40 <a name="DESCRIPTION"></a>
41 <h2>DESCRIPTION</h2>
42
43 <table width="100%" border=0 rules="none" frame="void"
44        cols="2" cellspacing="0" cellpadding="0">
45 <tr valign="top" align="left">
46 <td width="10%"></td><td width="90%">
47 <b>ftpc_get</b> attempts to download <b>remote_file</b> from
48 the server and store it in a local file called
49 <b>local_file</b>.</td></table>
50
51 <table width="100%" border=0 rules="none" frame="void"
52        cols="2" cellspacing="0" cellpadding="0">
53 <tr valign="top" align="left">
54 <td width="10%"></td><td width="90%">
55 <b>ftpc_put</b> attempts to upload a file called
56 <b>local_file</b> to the server and store it in a file on
57 the server called <b>remote_file</b>.</td></table>
58 <a name="RETURNS"></a>
59 <h2>RETURNS</h2>
60
61 <table width="100%" border=0 rules="none" frame="void"
62        cols="2" cellspacing="0" cellpadding="0">
63 <tr valign="top" align="left">
64 <td width="10%"></td><td width="90%">
65 0 if successful, -1 if the attempt failed. If a fatal error
66 occurs with the connection, an exception is
67 thrown.</td></table>
68 <a name="AUTHOR"></a>
69 <h2>AUTHOR</h2>
70
71 <table width="100%" border=0 rules="none" frame="void"
72        cols="2" cellspacing="0" cellpadding="0">
73 <tr valign="top" align="left">
74 <td width="10%"></td><td width="90%">
75 Richard Jones &lt;rich@annexia.org&gt;</td></table>
76 <a name="LICENSE"></a>
77 <h2>LICENSE</h2>
78
79 <table width="100%" border=0 rules="none" frame="void"
80        cols="2" cellspacing="0" cellpadding="0">
81 <tr valign="top" align="left">
82 <td width="10%"></td><td width="90%">
83 GNU LGPL (see http://www.gnu.org/)</td></table>
84 <a name="VERSION"></a>
85 <h2>VERSION</h2>
86
87 <table width="100%" border=0 rules="none" frame="void"
88        cols="2" cellspacing="0" cellpadding="0">
89 <tr valign="top" align="left">
90 <td width="10%"></td><td width="90%">
91 pthrlib-3.0.3</td></table>
92 <hr>
93 </body>
94 </html>