head	1.3;
access;
symbols
	tcllib-1-1-0:1.2
	tcllib-1-0-0:1.2
	tclpro-1-5-0:1.2
	tcllib-0-8-0:1.2
	ajuba-ajuba3-3-0-beta-base:1.2
	tclpro-1-4-1:1.2
	tcllib-0-6-1:1.2
	tclpro-1-4-0:1.2
	ajuba-ajuba2-2-1-base:1.1
	tcllib-0-5:1.1
	ajuba-ajuba2-2-0:1.1;
locks; strict;
comment	@# @;


1.3
date	2001.11.12.23.11.46;	author andreas_kupries;	state dead;
branches;
next	1.2;

1.2
date	2000.07.09.20.13.35;	author kuchler;	state Exp;
branches;
next	1.1;

1.1
date	2000.06.02.18.24.16;	author ericm;	state Exp;
branches;
next	;


desc
@@


1.3
log
@
	* examples/ftp: Moved example applications out of ftp module into
	  the example space.
@
text
@=======================
ftp examples README
=======================

Example #1 - Directory Mirror
-----------------------------

The script mirror.tcl is used to mirror a complete remote directory
structure. It creates an exact copy of this structure on the locale
machine. Three parameters needs to be modified to work properly, 
the hostname of the remote server, the username and the password 
for login. 


Example #2 - Software Update
----------------------------

The script newer.tcl is used to detect whether a new release of
Brent Welch's phantastic tcl-httpd is present at scriptics ftp
server. If ftp::Newer detects a newer file then it causes the
upload process and sends me (as root) an email to inform about. 
The file name for the remote copy of tclhttpd may have changed,
and the script needs a local copy of tclhttpd's source to do
the comparison.

Example #3 - Homepage Update
----------------------------

Quite a few people must have to keep permanent updating their
homepages on a ISP server. hpupdate.tcl is a tk-program for
the interactive comparsion of the homepage directory on the local
computer with the same directories on the remote homepage server. 

It is based on File Transfer Protocol. This process can be automated
easily by hpupdate. It makes it quick and easy to keep the track of
new/old or changed files.

Brief overview: 

     - FTP connection to remote server
     - Processing subdirectories 
     - Display of summary used and selected disk space 
     - Automatically all superfluous directories/files of remote
       homepage server will be deleted 
     - Automatically all new/updated files will be uploaded 
     - Tested under Linux, should also run without problems under
       Windows 95/NT and on Macintosh computers 

Example #4 - TkCon command line ftp client
------------------------------------------

Loading the ftp Library Package into Jeffrey Hobbs' TkCon rovides
a simple ftp command line utility with command history. TkCon is a
replacement for the standard console that comes with Tk. It must be
started with the "package" option: 

      tkcon -package ftp

to load ftp automatically. TkCon is available at

	http://www.purl.org/net/hobbs/tcl/script/tkcon
@


1.2
log
@ Updated for the change of ftp_lib.tcl -> ftp.tcl, for
 the change of ftp_demo.tcl to ftpdemo.tcl, and for the FTP namespace
 change.  Made lots of fixes to complete the partially done work to
 make ftp handle multiple concurrent ftps at the same time. Updated the
 version in the docs, examples, source, and pkgIndex to be version 2.0
 and updated the docs, examples, and tests to work with the new/latest
 version.
@
text
@@


1.1
log
@ftp lib module from Steffen Traeger.
@
text
@d2 1
a2 1
ftp_lib examples README
d20 1
a20 1
server. If FTP::Newer detects a newer file then it causes the
d22 3
a24 1

d30 1
a30 1
homepages on a ISP server. Hpupdate.tcl is a tk-program for
d52 1
a52 1
Loading the FTP Library Package into Jeffrey Hobbs' TkCon rovides
d57 1
a57 1
      tkcon -package FTP
d59 1
a59 1
to load ftp_lib automatically. TkCon is available at
@

