- To: James Gregory <james@xxxxxxxxxxxx>
- Subject: Re: [SLUG] FTP uploading from a bash script
- From: Michael Fox <michael@xxxxxxxxxx>
- Date: Fri Dec 13 09:34:04 2002
- Cc: Karl Bowden <kbowden@xxxxxxxxxxxxxxxxxxx>, Slug List <slug@xxxxxxxxxxx>
- User-agent: IMP/PHP IMAP webmail program 2.2.7
Quoting James Gregory <james@xxxxxxxxxxxx>:
> On Thu, 2002-12-12 at 13:14, Karl Bowden wrote:
> > 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.
>
> dynamic dns might be a better bet - less hacky, and there are scripts
> that do the updating for you. http://www.dyndns.org I think
And if your on debian, you can install a client that has been in the release
for sometime..
apt-get install ddclient
Cheers