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


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

Sweet! What's the address of your server? I'd love to check out your /etc/passwd file...

Seriously, though, piping to sendmail is a big, *big* no-no, especially if it's being done through the web with user-entered data. Look at Mail::Send and a more secure way to do the same thing.

Other than that, I'd definitely suggest e-mailing the file as a great alternative to having to ftp in manually to retrieve the file.

scott.