Add to git.
[pthrlib.git] / doc / ftpc_binary.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_type</title>
6 </head>
7 <body>
8
9 <h1 align=center>ftpc_type</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:16 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_type, ftpc_ascii, ftpc_binary - Set connection type.</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_type (ftpc ftpc, char type);
38 int ftpc_ascii (ftpc ftpc);
39 int ftpc_binary (ftpc ftpc);
40 </b></pre></td></table>
41 <a name="DESCRIPTION"></a>
42 <h2>DESCRIPTION</h2>
43
44 <table width="100%" border=0 rules="none" frame="void"
45        cols="2" cellspacing="0" cellpadding="0">
46 <tr valign="top" align="left">
47 <td width="10%"></td><td width="90%">
48 <b>ftpc_type</b> sets the connection type. Most FTP servers
49 only support type 'a' (ASCII) or type 'i' (bInary), although
50 esoteric FTP servers might support 'e'
51 (EBCDIC).</td></table>
52
53 <table width="100%" border=0 rules="none" frame="void"
54        cols="2" cellspacing="0" cellpadding="0">
55 <tr valign="top" align="left">
56 <td width="10%"></td><td width="90%">
57 <b>ftpc_ascii</b> sets the type to ASCII.</td></table>
58
59 <table width="100%" border=0 rules="none" frame="void"
60        cols="2" cellspacing="0" cellpadding="0">
61 <tr valign="top" align="left">
62 <td width="10%"></td><td width="90%">
63 <b>ftpc_binary</b> sets the type to bInary.</td></table>
64 <a name="RETURNS"></a>
65 <h2>RETURNS</h2>
66
67 <table width="100%" border=0 rules="none" frame="void"
68        cols="2" cellspacing="0" cellpadding="0">
69 <tr valign="top" align="left">
70 <td width="10%"></td><td width="90%">
71 0 if successful, -1 if the attempt failed. If a fatal error
72 occurs with the connection, an exception is
73 thrown.</td></table>
74 <a name="AUTHOR"></a>
75 <h2>AUTHOR</h2>
76
77 <table width="100%" border=0 rules="none" frame="void"
78        cols="2" cellspacing="0" cellpadding="0">
79 <tr valign="top" align="left">
80 <td width="10%"></td><td width="90%">
81 Richard Jones &lt;rich@annexia.org&gt;</td></table>
82 <a name="LICENSE"></a>
83 <h2>LICENSE</h2>
84
85 <table width="100%" border=0 rules="none" frame="void"
86        cols="2" cellspacing="0" cellpadding="0">
87 <tr valign="top" align="left">
88 <td width="10%"></td><td width="90%">
89 GNU LGPL (see http://www.gnu.org/)</td></table>
90 <a name="VERSION"></a>
91 <h2>VERSION</h2>
92
93 <table width="100%" border=0 rules="none" frame="void"
94        cols="2" cellspacing="0" cellpadding="0">
95 <tr valign="top" align="left">
96 <td width="10%"></td><td width="90%">
97 pthrlib-3.0.3</td></table>
98 <hr>
99 </body>
100 </html>