【求助】如何設定PureFTPD使之能FTP連FTP傳檔?





阿敏
2005-01-01, 04:37 PM
我想在兩台伺服器之間直接傳檔,就是所謂的 FXP。
PureFTPD 有支援此功能,而兩伺服器亦同時裝有 PureFTPD,但我試過之後,會有錯誤訊息如下:

425 Could not open data connection to port 60351:Operation time out
Transfer failed!

若從另一方的伺服器拖整個目錄(含檔案)過來我這方的伺服器,則目錄沒問題,但裡面的檔案就是傳不過來,會有以上425的錯誤訊息。

請問該如何設定才能讓兩台伺服器直接傳儅?
在這方面,ProFTPD 是否會比較好用?
請有成功用 FXP (FTP 連 FTP)傳檔的大哥們多多指教。謝謝!

我的系統是 FreeBSD 5.3,PureFTPD 1.0.20。




阿敏
2005-01-01, 07:47 PM
還有想請教一下,除了用FXP讓兩台伺服器直接傳檔外,還有沒有別的途徑,可以讓兩台伺服器直接傳檔的?我曾試過在 root shell 用 ftp 來下載,但總會發生錯誤,下不完一個檔。不知是何原因?是不是該伺服器有防火牆?如果是因為防火牆的關係,又該如何改變其設定呢?謝謝!

阿敏
2005-01-01, 11:25 PM
不好意思,現在用 shell下載沒問題了,剛才是下載到一個硬碟不夠大的mount區,所以會有錯誤。
但有個問題,就是在 shell 下載時,要如何批次下載呢?例如在 dos 我們打入 *.*,那麼在 unix 的 ftp 該如何表示呢?還有,若欲下載整個目錄呢?要打 get 什麼呢?謝謝!

repsol
2005-01-04, 10:10 AM
可以試試 ncftp
蠻多功能的,可以批次,定時..

ispeter
2005-12-02, 04:01 PM
mget remote-files
Expand the remote-files on the remote machine and do a get
for each file name thus produced. See glob for details on
the filename expansion. Resulting file names will then be
processed according to case, ntrans, and nmap settings.
Files are transferred into the local working directory, which
can be changed with `lcd directory'; new local directories
can be created with `! mkdir directory'.

可以同時下載多各檔案
來自於 "man ftp"
DOS 裡面的 ftp 也有相同參數
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ftp__mget.mspx