全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:1383
推到 Plurk!
推到 Facebook!

Indy 的 pasv 格式

答題得分者是:shieh2700
P.D.
版主


發表:603
回覆:4038
積分:3874
註冊:2006-10-31

發送簡訊給我
#1 引用回覆 回覆 發表時間:2004-10-23 01:19:08 IP:61.71.xxx.xxx 未訂閱
請問各位! 我利用 Indy 8 做出一個 FTP 的系統, 最近遇到一個狀況 對方的FTP server 做了一些保護機制, 必須利用 PASV 模式才可以進入 如果使用目前流通的一些FTP傳檔軟體, 只要勾選 PASV MODE 再 CONNECT 就可以成功連入對方的SERVER, 但我使用 Indy 卻無法進入, 也找不到有關 可以設定 PASV 設定的地方, 不知各位知不知道如何用 Indy 可以通過 PASV, 謝謝!
shieh2700
高階會員


發表:0
回覆:127
積分:100
註冊:2002-06-13

發送簡訊給我
#2 引用回覆 回覆 發表時間:2004-10-23 04:50:14 IP:61.229.xxx.xxx 未訂閱
是否考慮升級成 Indy9 或 Indy10? http://www.indyproject.org/KB/indynat.htm For Indy 10 TIdFTP A FTP client using SSL should use PASV transfers (Passive := True) instead of PORT transfers (Passive = False) because a NAT can not translate the IP address given in a PORT command on the control connection. If you must use PORT transfers, you should do the following: 1. Configure your NAT to forward a range ports to your computer behind the NAT. 2. Specify that port range with the DataPortMin and DataPortMin properties. 3. Set the ExternalIP property to the NAT's external Internet IP address. You may also wish to consider clearing encryption from the control channel by setting the UseCCC property to True as a NAT might be able to intercept the IP address specified in the PORT command. However, that does not work on some NAT's, you may not want to send unencrypted FTP commands, and some FTP servers do not support the CCC command. If you are making a FTP client that will be deployed widely, you should make configuration options for port ranges to use with data channels, permitting the user to enter an external Internet IP address for their NAT's, and permitting the user to clear the command connection with the CCC command.
P.D.
版主


發表:603
回覆:4038
積分:3874
註冊:2006-10-31

發送簡訊給我
#3 引用回覆 回覆 發表時間:2004-10-26 10:10:48 IP:61.71.xxx.xxx 未訂閱
謝謝! 嗯! 看來好像只有Indy10才有解!
系統時間:2024-05-02 10:26:01
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!