3 <meta name="generator" content="groff -Thtml, see www.gnu.org">
4 <meta name="Content-Style" content="text/css">
5 <title>ftpc_get</title>
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>
19 <!-- Creator : groff version 1.17.2 -->
20 <!-- CreationDate: Fri Aug 30 16:16:17 2002 -->
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>
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 <pthr_ftpc.h>
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>
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>
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>
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
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 <rich@annexia.org></td></table>
76 <a name="LICENSE"></a>
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>
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>