GB | BIG5
|
| 首頁 > 應用技術 > 其它 > 正文 |
 |
| 使用 FTP 自動傳輸文件 |
| 本文出自: http://ehnt.net/clansoft/gb/ (2001-06-19 13:04:01) |
有關 FTP 自動傳輸文件的問題,很多報刊雜志上都介紹如下類似的方法:
ftp -n hostname <user username password passwordstring
bi
put sourcefile targetfile
bye
HERE
其實這種方法並不是最佳的方法,因為在執行過程中會產生臨時文件,產生了一定的不安全因素。大家可以試一下下面的方法:
(
echo "user username password passwordstring"
echo "bi"
echo "put localfilename remotefilename"
echo "bye"
) | ftp -n hostname
(http://www.fanqiang.com)
進入【UNIX論壇】
|
|
| 相關文章 |
|
===謹=== |
|
|
 |
★ 樊強制作 歡迎分享 ★ |