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@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list