Hi, I just wanted to let you know that this works pretty good. Here is what I ended up doing: #/root/.netrc
#machine host_to_ftp_to login user_name password the_password machine server.com login Its_me password let_me_in default login anonymous password [EMAIL PROTECTED] =========================================================== #Transfer script. #!/bin/sh ftp server.com < test =========================================================== # File doing the trasfer. # Test put file_I_want_copied quit =========================================================== Where do I send the compensation? Thanks to ya'll Bob Jason ([EMAIL PROTECTED]) wrote: > >You shouldn't need to use ncftp for this (though it is >a more full featured client). You should be able to do >this using regular old ftp. > >If there is a .netrc file in the user's home directory >(the user that will be doing the ftp), ftp can use >this for autoconfiguration information. A sample >.netrc file will look like: > >machine host_to_ftp_to login user_name password >the_password > >You can also use the macdef function to do some >scripted ftp actions automatically. These commands >will also be embedded in the .netrc file. > >The man page for netrc should give you some good >information. Then, once you have it automagically >working, you can cron it as Garl has mentioned. > >One caveat to any of these solutions, of course, is >that you'll have a credential set sitting around in >plain text. Make sure the perms are reasonable for the >file (of course, they are going over the line in clear >text as well). > >Jason > >__________________________________ >Do you Yahoo!? >Yahoo! SiteBuilder - Free web site building tool. Try it! >http://webhosting.yahoo.com/ps/sb/ >_______________________________________________ >EuG-LUG mailing list >[EMAIL PROTECTED] >http://mailman.efn.org/cgi-bin/listinfo/eug-lug > -- Assured Computing When you need to be sure. [EMAIL PROTECTED] www.assuredcomp.com Voice - 541-868-0331 FAX - 541-463-1627 Eugene, Oregon _______________________________________________ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
