http://qs321.pair.com?node_id=177867


in reply to I have a .cgi create a file, can I have it automatically FTPed to me or something?

I've always found the easiest way to do this is to e-mail.
Open sendmail as a file and put all the info you need into it. Once you close the e-mail "file" sendmail will ship it off. Depending on your server and volume of e-mail, you should get it nearly instantly.
I have a perl script which does exactly this any time anyone views a home listing on my realty site. It e-mails me the page they looked at, their e-mail address, etc. and I never even have to connect to my server.

Very handy.

open(SM,"|/usr/sbin/sendmail -t"); print SM <<OUT; To: me\@me.net From: server\@yourserver.com Subject: results $msg_text OUT close(SM);
cidaris