diff options
Diffstat (limited to 'tcllib/modules/ftp/docs/fhelp2.html')
-rw-r--r-- | tcllib/modules/ftp/docs/fhelp2.html | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/tcllib/modules/ftp/docs/fhelp2.html b/tcllib/modules/ftp/docs/fhelp2.html new file mode 100644 index 0000000..5f5895b --- /dev/null +++ b/tcllib/modules/ftp/docs/fhelp2.html @@ -0,0 +1,57 @@ +<html> +<head> +<title>ftp Library Package 2.1 for Tcl/Tk help file</title> +</head> +<body bgcolor="#ffffff" text="#000000"> +<body> + +<p> +<dl> + <dd> + <p><font face="Arial,Helvetica" color="#526e9c" size="+2"><b>ftp Library Package 2.1 for Tcl/Tk Manual Pages</b></font></p> + </dd> + + <dd><font face="Arial,Helvetica" size="+1"><b>COMMAND</b></font></dd> + <dd><dl> + <dd><b>ftp::Close</b> <em>handle</em></dd> + <dd> </dd> + <dd> + The <b>ftp::Close</b> command terminates the ftp session and if file + transfer is not in progress, the server closes the control + connection. If file transfer is in progress, the connection + will remain open for result response and the server will then + close it. + </dd> + <dd> </dd> + </dl></dd> + + <dd><font face="Arial,Helvetica" size="+1"><b>EXAMPLE</b></font></dd> + <dd><dl> + <dd> + <pre># open a new connection +if {[set conn [ftp::Open ...]] == -1} { + puts "Connection refused!" + exit 1 +} + +# get file +ftp::Get $conn index.html + +# close connection +ftp::Close $conn + </pre> + + </dd> + </dl></dd> + +</dl> +</p> + +<p> +[<a href="index.html">Contents</a>] +[<b>Previous:</b> <a href="fhelp1.html">ftp::Open</a>] +[<b>Next:</b> <a href="fhelp3.html">ftp::Cd</a>] +</p> +<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> +</body> +</html> |