[mrtg] Re: FTP'ing MRTG files (bat files)

Blake McCraw blake at webkrew.com
Wed Nov 1 17:30:57 MET 2000


Batch file:

rem Batch file to auto ftp mrtg data
ftp -i -s:ftpcmd.txt www.mywebserver.com

ftpcmd.txt:

username
password
cd /webdirectory
ascii
mput *.html
binary
mput *.png
close
quit

Blake



Jason Ertel wrote:
> 
> All,
> 
> I have MRTG running on a NT box, behind a private network. I have
> been manually FTP'ing/publishing the pages on a public box for viewing.
> Does anyone have a .bat file or NT script that will facilitate an automated
> FTP process?
> 
> Thanks,
> Jason
> 
> =====================================================================
>   ________
>   \______/   Jason Ertel                 Phone: (201) 928-4325
>    \____/    Mgr. Network Services       FAX:   (201) 928-0156
>     \__/     IDT Corporation             EMail: jasone at netops.idt.net
>      \/            http://dedicated.idt.net/~jertel
> 
> =====================================================================
> 
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Archive     http://www.ee.ethz.ch/~slist/mrtg
> FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
> WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list