2008年3月8日 星期六

[Linux文件] ncftp 安裝、使用

ncftp是命令列的ftp client端套件,安裝方式如下,

# yum install ncftp
Loading "installonlyn" plugin
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package ncftp.i386 2:3.2.0-3.fc7 set to be updated

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
ncftp i386 2:3.2.0-3.fc7 fedora 557 k

Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 557 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): ncftp-3.2.0-3.fc7. 100% |=========================| 557 kB 00:00

Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: ncftp ######################### [1/1]

Installed: ncftp.i386 2:3.2.0-3.fc7
Complete!
--------------------------------------------
使用上,-u 是帳號 -p 是密碼(可以先不打,登入再key in) -P 是port

# ncftp -u XPG -P 6666 140.115.80.91

接下來伺服器會問密碼,key in 即可
用get指令可以下載檔案、ls列目錄
cd 可切換目錄、put可上傳目錄,
但是實際使用上,會出現錯誤訊息,
下次再試試吧>"<
--

1 則留言:

Celular 提到...

Hello. This post is likeable, and your blog is very interesting, congratulations :-). I will add in my blogroll =). If possible gives a last there on my blog, it is about the Celular, I hope you enjoy. The address is http://telefone-celular-brasil.blogspot.com. A hug.