FTP script help needed

From: Adams-Blake Co. (atakeoutcanton_at_adams-blaketakeout.com)
Date: 11/23/03


Date: Sun, 23 Nov 2003 16:51:42 GMT


[Not sure this is the right group. If not, please let me know where this
might be more apropros. Thanks.]

I run KDE on Slack 9.1 and have a dial-up connection.

I have five back-up files on a server in another state (PA). The
files have different names. A new file (just a MySQLDump) is created each
hour (via cron). Script deletes anything older than 300 minutes and creates
a new file... so there are always the past 5 backups there.

I want to create a script that will run via cron on my LOCAL machine that
will run each hour and download the latest (newest) file.

It would be NICE if the script could tell if I was already connected and if
NOT it could call KPPP and dial the phone for me, connect, log in via FTP
(or whatever) do the dowloand, log off, and hang up... but I don't think
that is possible so I would settle with leaving the dial-up connection on
24/7 and just doing the download thing. (Eventually I will get DSL so the
dial-up thing will be moot.)

Is there a repository of shell scripts somehwere that one can search to find
stuff like this? Hotsciprts has javascirpt stuff, but I don't think they
have Unix scrpts.

Here is another idea/request. Are there back-up services out there that will
"pull" my file down to their server each hour? I'd pay a small fee for
something like that.

Currently I pull my backup file down manually but it would be nice to
automate it and get it every hour instead of once a day.

If anyone is able to offer a bit of help or point me in the right direction,
I'd appreciate it.

Al



Relevant Pages

  • Help with TCP/IP error code
    ... I am running the DNSALIAS.CMD Rexx script available from Hobbes with InJoy ... dialer to establish a host name for my dial-up connection and I am running ... When I start the connection the script is working as ...
    (comp.os.os2.bugs)
  • Re: constant runtime errors-please help
    ... Common script errors messages can be eliminated by Clicking: ... click Internet Options. ... Two download versions are available for Windows Script 5.6. ... HiJackThis: - Free ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Idiot proof removal of junk?
    ... | I would like to send everyone a single script or small set of scripts ... | convince windows to boot into safe mode with command prompt. ... FireWall to allow it to download the needed AV vendor related files. ... This will bring up the initial menu of choices and should be executed in Normal Mode. ...
    (microsoft.public.windowsxp.help_and_support)
  • Announcement: Fix management tool for AIX 4.x/5.x available
    ... I'm pleased to announce a tool to automate download and management ... of ".bff" and ".rpm" fix packages for AIX ver. ... "fix-get.sh" script has been designed to automate fix packages ... discovery and download for servers with Unix AIX versions up to 5.3. ...
    (comp.unix.aix)
  • Re: Dynamic loading of javascript files into web pages
    ... after the script has loaded and executed. ... in an external file execute and know that is has loaded? ... the archives, I have shown this MANY times and it was even before ... Want it to download faster? ...
    (comp.lang.javascript)