1<html> 2<head> 3<title>ftp Library Package 2.1 for Tcl/Tk help file</title> 4</head> 5<body bgcolor="#ffffff" text="#000000"> 6<body> 7 8<p> 9<dl> 10 <dd> 11 <p><font face="Arial,Helvetica" color="#526e9c" size="+2"><b>ftp Library Package 2.1 for Tcl/Tk Manual Pages</b></font></p> 12 </dd> 13 14 <dd><font face="Arial,Helvetica" size="+1"><b>COMMAND</b></font></dd> 15 <dd><dl> 16 <dd><b>ftp::Append</b><em> handle (local | -data "data") ?remote?</em></dd> 17 <dd> </dd> 18 <dd> 19 20 The <b>ftp::Append</b> command appends a local file <em>local</em> to an 21 existing remote file <em>remote</em> on the ftp server. If the file 22 not exists at the server site, the file shall be created at the server 23 site. If '-data "data"' is specified, then rather than 24 transferring a file, the data passed in is used as the data to transfer. 25<br> 26 The file parameters passed must 27 contain a fully qualified path name, otherwise the command uses 28 the current directory. If remote file name is unspecified, the 29 local file name is assigned to the remote file name. 30 31 <p>If the file was successfully transferred, then the command 32 returns 1, if it fails 0. </p> 33 34 </dd> 35 </dl></dd> 36 37 <dd><font face="Arial,Helvetica" size="+1"><b>EXAMPLE</b></font></dd> 38 <dd><dl> 39 <dd> 40 <pre># store data 41ftp::Put $conn data.log 42 43# append new data 44ftp::Append $conn logfile data.log 45 </pre> 46 47 </dd> 48 </dl></dd> 49</dl> 50</p> 51<p> 52[<a href="index.html">Contents</a>] 53[<b>Previous:</b> <a href="fhelp12.html">ftp::Put</a>] 54[<b>Next:</b> <a href="fhelp13.html">ftp::Get</a>] 55</p> 56<p align="left"><hr noshade size="1"><font face="Arial,Helvetica" size="-1">© 1999 <a href="mailto:Steffen.Traeger@t-online.de">Steffen Traeger</a></font></p> 57</body> 58</html> 59