轉信站: GIBBS!news2.ncku!ccnews.ncku!news.ccns.ncku!news.mksh.phc!news.nsysu!ne Origin: bbs.et.ntust.edu.tw ※ 引述《spiraea.bbs@bbs.csie.nctu.edu.tw (浮雲遊子)》之銘言: > ※ 引述《fam.bbs@bbs.cis.nctu.edu.tw (無敵鐵金剛指揮艇組合)》之銘言: > > 就是 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...... > man netrc 或用wget ftp -n $i << ! > /dev/null 2> /dev/null user mytest mytest cd test get test.txt bye ! done 或是 ncftpget ncftpput -- ※ Origin: 台灣科大電子站 <bbs.et.ntust.edu.tw> ◆ From: 61.70.220.90