回文章列表
作者qert.bbs@bbs.cis.nctu.edu.tw (半菱), 信區: unix
標題Re: 請問在 solaris如何寫 ftp shell script ?
時間交大資科_BBS (Mon Feb 28 17:30:29 2005)
轉信站: GIBBS!news2.ncku!ccnews.ncku!news.ccns.ncku!news.mksh.phc!news.nsysu!ne
Origin: www.de.homenet.net

==> 在 fam@cis_nctu (無敵鐵金剛指揮艇組合) 的文章中提到:
>    就是 username, 跟 password, 還有一些輸入指令如何寫,
>    比如:
>       export/home/mytest> ftp 10.10.10.10
>       username: mytest
>       password: mytest
>       ftp> cd test
>       OK
>       ftp> get test.txt
>       .....
>      上面例子如何寫成 script file?  thx......

The script below may need some modification depending on the ftp client tool
you are using :

open 10.10.10.10
user mytest mytest
cd test
get test.txt
by
--
 * Post by qert from www.de.homenet.net 
 * Origin: ★ 交通大學資訊科學系 BBS ★ <bbs.cis.nctu.edu.tw: 140.113.23.3>
文章選讀←離開[主題上]主題下(k)上篇(j)下篇S/a搜尋 G串列 TAB精華 ↑↓捲 Pg/Space翻