Re: [REQ] Questions on ftp program?
From: Nabin Limbu (nlimbu_at_healthnet.org.np)
Date: 02/16/04
- Previous message: Infotech: "Re: Sendmail error"
- In reply to: Zhuanshi He: "[REQ] Questions on ftp program?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: redhat-list@redhat.com Date: Mon, 16 Feb 2004 20:11:36 +0530
Hi,
You might find "wget" command interesting. Pls check it out.
For shell scripting, have a look on this pages.
http://www.tldp.org/LDP/abs/html/
or
http://www.freeos.com/guides/lsst/index.html
Nabin Limbu
HealthNet Nepal
On 16 Feb 2004 at 22:01, Zhuanshi He wrote:
Dear All,
I wrote a script (listed below, ftp.sh) try to do ftp automatically. I
have four more questions need your help.
(a). How can I judge if the file will be downloaded already exists in my
local directory. Which command I should add to ftp.sh
(b). May I add more machine to file ~/.netrc
(c). May I use same ftp.sh to do the "mput" command?
(d). If the user is not anonymous, how can I change the ftp.sh?
Thank u so much for giving me hints.
It's very appreciated, if u can provide sampling script(s).
Warm regards,
Z. He
ftp.sh
--------------------------------------------------------------
ftp airquality << EOF
cd /pub/upload
mget *.txt
bye
--------------------------------------------------------------
I also have a file, ~/.netrc
--------------------------------------------------------------
machine airquality.kjist.ac.kr login anonymous password guest
--------------------------------------------------------------
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
- Previous message: Infotech: "Re: Sendmail error"
- In reply to: Zhuanshi He: "[REQ] Questions on ftp program?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|