Script Name:
sendftp.tcl
Version: 1.0
Author: Ernst
Script Date: 05/10/2000
Category: Not specified
Downloads: 13
File Name:
sendftp-win.tcl.gz
Short Description:
Contains a proc that lets you send a file to a server via FTP. Windows version.
Extended Description File
Sendftp-Win v1.0 (5-Oct-2000) by Ernst <ernst@baschny.de>
Ernst's eggdrop page: http://www.baschny.de/eggdrop/
==========================================================================
!!! This is the Windows version of sendftp !!!
This is a proc to send a file via FTP to another server. Useful in many
situations, for example to upload a HTML file generated by eggdrop to your
www server if it is not the same as your eggdrops machine.
This procedure can be used for example with the ChanStats script.
Include it with 'source scripts/sendftp-win.tcl'.
Call it with all parameters:
sendftp <localfile> <server> <user> <password> <remotefile>
'localfile' and 'remotefile' *must* both be given as FULL paths to the
filenames, the first on the local, the second on the remote server.
For example:
sendftp /home/bill/stats.htm www.ms.com bill secret /bgates/WWW/stats.htm
(local-file server user pass remote-file)