Article View: ch.comp.os.linux
Article #23106Re: Cron-Jobs und ftp
From: Daniel Brack
Date: Tue, 13 Apr 1999 00:00
Date: Tue, 13 Apr 1999 00:00
32 lines
1299 bytes
1299 bytes
Hallo nepomuk
^^^^^^^
Hier kοΏ½nnte Dein Name stehen.
nepomuk <ask_nepomuk@pop.agri.ch> wrote:
> Weiss jemand wie ich einen FTP-Upload mittels Cronjob definieren kann,
> damit meine Homepage automatisch erneuert wird?
Etwa so:
#!/bin/csh
#
# ftpput
#
set host=www.blablub.ch
set dir=public_html
set file=index.html
ftp -in $host <<ENDEND
user username password
bin
cd $dir
put $file
bye
ENDEND
Cheers,
Dani
--
"Are Linux users lemmings collectively jumping off of the cliff of
reliable, well-engineered commercial software?" -- Matt Welsh
Technical Details
Message-ID:
<eda0f7.qq7.ln@Atlan.home.ml.org>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3713698A.DACDFBB3@pop.agri.ch>Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII
X-Google-Thread: f4b73,2ee077805adcc8b3
X-Google-Attributes: gidf4b73,public
From: Daniel Brack <dbrack@datacomm.ch>
Subject: Re: Cron-Jobs und ftp
Date: 1999/04/13
Message-ID: <eda0f7.qq7.ln@Atlan.home.ml.org>
X-Deja-AN: 466023632
Content-Transfer-Encoding: 8bit
Sender: Daniel Brack <db@Atlan.home.ml.org>
References: <3713698A.DACDFBB3@pop.agri.ch>
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: 13 Apr 1999 22:43:51 +0100, line625-basel.datacomm.ch
Organization: DataComm (Schweiz) AG
X-Organization: The Unseen University
MIME-Version: 1.0
User-Agent: tin/pre-1.4-19990216 ("Styrofoam") (UNIX) (Linux/2.0.36 (i586))
Newsgroups: ch.comp.os.linux