source: trunk/Packages/synapse/docs/help/ftpsend.html

Last change on this file was 2, checked in by chronos, 12 years ago
  • Přidáno: Základní kostra projektu.
  • Přidáno: Knihovna synapse.
File size: 6.7 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
2<html>
3<head>
4<meta name="GENERATOR" content="PasDoc 0.9.0">
5<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
6<title>ftpsend</title>
7<link rel="StyleSheet" type="text/css" href="pasdoc.css">
8</head>
9<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
10<h1 class="unit">Unit ftpsend</h1>
11<table class="sections">
12<tr>
13<td><a class="section" href="#@Description">Description</a></td><td><a class="section" href="#@Uses">uses</a></td><td><a class="section" href="#@Classes">Classes, Interfaces, Objects and Records</a></td><td><a class="section" href="#@FuncsProcs">Functions and Procedures</a></td><td><a class="section" href="#@Types">Types</a></td><td><a class="section" href="#@Constants">Constants</a></td><td>Variables</td></tr></table>
14<a name="@Description"></a><h2 class="description">Description</h2>
15&nbsp;<a name="@Uses"></a><h2 class="uses">uses</h2>
16<ul class="useslist"><li>SysUtils</li><li>Classes</li><li><a href="blcksock.html">blcksock</a></li><li><a href="synautil.html">synautil</a></li><li><a href="synaip.html">synaip</a></li><li>synsock</li></ul><h2 class="overview">Overview</h2>
17<a name="@Classes"></a><h3 class="cio">Classes, Interfaces, Objects and Records</h3>
18<table class="classestable">
19<tr class="listheader">
20<th class="itemname">Name</th>
21<th class="itemdesc">Description</th>
22</tr>
23<tr class="list">
24<td class="itemname">Class&nbsp;<a class="bold" href="ftpsend.TFTPListRec.html"><code>TFTPListRec</code></a></td>
25<td class="itemdesc">Object for holding file information</td>
26</tr>
27<tr class="list2">
28<td class="itemname">Class&nbsp;<a class="bold" href="ftpsend.TFTPList.html"><code>TFTPList</code></a></td>
29<td class="itemdesc">This is TList of TFTPListRec objects.</td>
30</tr>
31<tr class="list">
32<td class="itemname">Class&nbsp;<a class="bold" href="ftpsend.TFTPSend.html"><code>TFTPSend</code></a></td>
33<td class="itemdesc">Implementation of FTP protocol.</td>
34</tr>
35</table>
36<a name="@FuncsProcs"></a><h3 class="summary">Functions and Procedures</h3>
37<table class="summary">
38<tr class="list">
39<td class="itemcode"><code>function <b><a href="ftpsend.html#FtpGetFile">FtpGetFile</a></b>(const IP, Port, FileName, LocalFile, User, Pass: string): Boolean;</code></td>
40</tr>
41<tr class="list2">
42<td class="itemcode"><code>function <b><a href="ftpsend.html#FtpPutFile">FtpPutFile</a></b>(const IP, Port, FileName, LocalFile, User, Pass: string): Boolean;</code></td>
43</tr>
44<tr class="list">
45<td class="itemcode"><code>function <b><a href="ftpsend.html#FtpInterServerTransfer">FtpInterServerTransfer</a></b>( const FromIP, FromPort, FromFile, FromUser, FromPass: string; const ToIP, ToPort, ToFile, ToUser, ToPass: string): Boolean;</code></td>
46</tr>
47</table>
48<a name="@Types"></a><h3 class="summary">Types</h3>
49<table class="summary">
50<tr class="list">
51<td class="itemcode"><code><b><a href="ftpsend.html#TLogonActions">TLogonActions</a></b> = array [0..17] of byte;</code></td>
52</tr>
53<tr class="list2">
54<td class="itemcode"><code><b><a href="ftpsend.html#TFTPStatus">TFTPStatus</a></b> = procedure(Sender: TObject; Response: Boolean; const Value: string) of object;</code></td>
55</tr>
56</table>
57<a name="@Constants"></a><h3 class="summary">Constants</h3>
58<table class="summary">
59<tr class="list">
60<td class="itemcode"><code><b><a href="ftpsend.html#cFtpProtocol">cFtpProtocol</a></b> = '21';</code></td>
61</tr>
62<tr class="list2">
63<td class="itemcode"><code><b><a href="ftpsend.html#cFtpDataProtocol">cFtpDataProtocol</a></b> = '20';</code></td>
64</tr>
65<tr class="list">
66<td class="itemcode"><code><b><a href="ftpsend.html#FTP_OK">FTP_OK</a></b> = 255;</code></td>
67</tr>
68<tr class="list2">
69<td class="itemcode"><code><b><a href="ftpsend.html#FTP_ERR">FTP_ERR</a></b> = 254;</code></td>
70</tr>
71</table>
72<h2 class="description">Description</h2>
73<h3 class="detail">Functions and Procedures</h3>
74<table class="detail">
75<tr class="list">
76<td class="itemcode"><a name="FtpGetFile"></a><code>function <b>FtpGetFile</b>(const IP, Port, FileName, LocalFile, User, Pass: string): Boolean;</code></td>
77</tr>
78</table>
79<p>
80A very useful function, and example of use can be found in the TFtpSend object. Dowload specified file from FTP server to LocalFile.</p>
81<table class="detail">
82<tr class="list">
83<td class="itemcode"><a name="FtpPutFile"></a><code>function <b>FtpPutFile</b>(const IP, Port, FileName, LocalFile, User, Pass: string): Boolean;</code></td>
84</tr>
85</table>
86<p>
87A very useful function, and example of use can be found in the TFtpSend object. Upload specified LocalFile to FTP server.</p>
88<table class="detail">
89<tr class="list">
90<td class="itemcode"><a name="FtpInterServerTransfer"></a><code>function <b>FtpInterServerTransfer</b>( const FromIP, FromPort, FromFile, FromUser, FromPass: string; const ToIP, ToPort, ToFile, ToUser, ToPass: string): Boolean;</code></td>
91</tr>
92</table>
93<p>
94A very useful function, and example of use can be found in the TFtpSend object. Initiate transfer of file between two FTP servers.</p>
95<h3 class="detail">Types</h3>
96<table class="detail">
97<tr class="list">
98<td class="itemcode"><a name="TLogonActions"></a><code><b>TLogonActions</b> = array [0..17] of byte;</code></td>
99</tr>
100</table>
101<p>
102Array for holding definition of logon sequence.</p>
103<table class="detail">
104<tr class="list">
105<td class="itemcode"><a name="TFTPStatus"></a><code><b>TFTPStatus</b> = procedure(Sender: TObject; Response: Boolean; const Value: string) of object;</code></td>
106</tr>
107</table>
108<p>
109Procedural type for OnStatus event. Sender is calling <a class="normal" href="ftpsend.TFTPSend.html">TFTPSend</a> object. Value is FTP command or reply to this comand. (if it is reply, Response is <code>True</code>).</p>
110<h3 class="detail">Constants</h3>
111<table class="detail">
112<tr class="list">
113<td class="itemcode"><a name="cFtpProtocol"></a><code><b>cFtpProtocol</b> = '21';</code></td>
114</tr>
115</table>
116&nbsp;<table class="detail">
117<tr class="list">
118<td class="itemcode"><a name="cFtpDataProtocol"></a><code><b>cFtpDataProtocol</b> = '20';</code></td>
119</tr>
120</table>
121&nbsp;<table class="detail">
122<tr class="list">
123<td class="itemcode"><a name="FTP_OK"></a><code><b>FTP_OK</b> = 255;</code></td>
124</tr>
125</table>
126<p>
127Terminating value for TLogonActions</p>
128<table class="detail">
129<tr class="list">
130<td class="itemcode"><a name="FTP_ERR"></a><code><b>FTP_ERR</b> = 254;</code></td>
131</tr>
132</table>
133<p>
134Terminating value for TLogonActions</p>
135<hr noshade size="1"><span class="appinfo"><em>Generated by <a target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.9.0</a> on 2012-04-23 21:38:50</em>
136</span>
137</body></html>
Note: See TracBrowser for help on using the repository browser.