Forgot to CC List Scott Ragen/Roadtech wrote on 13-12-2002 10:23:38 AM:
> Karl, > Give this a try. > > ftp -i -n <<MARK > open $FTPSERVER > user $USER $PASS > put ftp commands here > quit > MARK > > That should do it. > > Of course, dynamic dns has its advantages, as other people have suggested. > > Cheers, > > Scott > > > > -- > Scott Ragen > Support Manager/IT Administrator > Roadtech Systems > www.roadtechsystems.com.au > PH: +61 2 9807 3516 FAX: +61 2 9808 5294 > > [EMAIL PROTECTED] wrote on 13-12-2002 12:14:52 AM: > > > What is the easiest way to upload a file from a bash script to a ftp > > server? > > > > I have a script on a remote box that checks every so often from cron > > what the ip address is and if it changes then uploads the change to my > > ftp server, because the remote box is on a telstra cable connection and > > the owner of the box still finds it difficult to find the ip address > > when ever something goes wrong, and I have to ssh in. The script will > > have the username and password hardcoded. > > > > ps.. I also want to make sure that I will always have a back door.... > > he he he > > > > Regards, > > Karl Bowden > > [attachment "signature.asc" removed by Scott Ragen/Roadtech] -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
