PC Review


Reply
Thread Tools Rate Thread

Cannot run ftp

 
 
adrian
Guest
Posts: n/a
 
      20th Feb 2004
Hi,
I have a small network at home, the one connect to internet has no problem
in using ftp; the one with IP 192.168.0.2 can use ftp to connect to remote
server, but it cannot open the data port, ie. I can't do command such as
dir, put, get etc. I can only use command such as pwd, cd etc. Does anyone
know why? Will my firewall has something to do with this problem?? Thx in
advance.

Adrian


 
Reply With Quote
 
 
 
 
adrian
Guest
Posts: n/a
 
      20th Feb 2004
Sorry, i forgot to say something, when I run the debug mode and apply the
"dir" command, i actually got the following error message:

ftp> dir
---> PORT 192,168,0,2,4,183
200 PORT command successful
---> LIST
425 Can't build data connection: No route to host

Why is that?
Thx.
adrian
"adrian" <(E-Mail Removed)> wrote in message
news:#(E-Mail Removed)...
> Hi,
> I have a small network at home, the one connect to internet has no

problem
> in using ftp; the one with IP 192.168.0.2 can use ftp to connect to remote
> server, but it cannot open the data port, ie. I can't do command such as
> dir, put, get etc. I can only use command such as pwd, cd etc. Does anyone
> know why? Will my firewall has something to do with this problem?? Thx in
> advance.
>
> Adrian
>
>



 
Reply With Quote
 
Gino
Guest
Posts: n/a
 
      20th Feb 2004
If you are using IE to connect to a FTP server try putting it in PASV mode.
Goto TOOLS> INTERNET OPTIONS> and click on the ADVANCED tab.

1. REMOVE the check mark from USE FOLDER VIEW FOR FTP.

2. PLACE a check mark at USE PASV for FTP (good for DSL and CABLE MODEM).

Then click OK. Close and reopen IE.

"MAKE SURE YOU DO BOTH STEPS OR YOU WILL NOT BE IN PASSIVE MODE."

"adrian" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hi,
> I have a small network at home, the one connect to internet has no

problem
> in using ftp; the one with IP 192.168.0.2 can use ftp to connect to remote
> server, but it cannot open the data port, ie. I can't do command such as
> dir, put, get etc. I can only use command such as pwd, cd etc. Does anyone
> know why? Will my firewall has something to do with this problem?? Thx in
> advance.
>
> Adrian
>
>



 
Reply With Quote
 
adrian
Guest
Posts: n/a
 
      20th Feb 2004
Hi,
I can only see this option here:
--> USE FOLDER VIEW FOR FTP
But not:
--> USE PASV for FTP option
Actually, why do we need to change to passive mode?
Thx.

Adrian

"Gino" <(E-Mail Removed)> wrote in message
news:87899$40358963$44a77c62$(E-Mail Removed)...
> If you are using IE to connect to a FTP server try putting it in PASV

mode.
> Goto TOOLS> INTERNET OPTIONS> and click on the ADVANCED tab.
>
> 1. REMOVE the check mark from USE FOLDER VIEW FOR FTP.
>
> 2. PLACE a check mark at USE PASV for FTP (good for DSL and CABLE MODEM).
>
> Then click OK. Close and reopen IE.
>
> "MAKE SURE YOU DO BOTH STEPS OR YOU WILL NOT BE IN PASSIVE MODE."
>
> "adrian" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> > Hi,
> > I have a small network at home, the one connect to internet has no

> problem
> > in using ftp; the one with IP 192.168.0.2 can use ftp to connect to

remote
> > server, but it cannot open the data port, ie. I can't do command such as
> > dir, put, get etc. I can only use command such as pwd, cd etc. Does

anyone
> > know why? Will my firewall has something to do with this problem?? Thx

in
> > advance.
> >
> > Adrian
> >
> >

>
>



 
Reply With Quote
 
adrian
Guest
Posts: n/a
 
      20th Feb 2004
Oh,
I just downloaded a third party ftp client software, and I set the passive
mode, and it works!!! That's great, thx a lot! But would you mind to tell me
why the passive mode works, but not the normal mode? Thx.

Adrian
"Gino" <(E-Mail Removed)> wrote in message
news:87899$40358963$44a77c62$(E-Mail Removed)...
> If you are using IE to connect to a FTP server try putting it in PASV

mode.
> Goto TOOLS> INTERNET OPTIONS> and click on the ADVANCED tab.
>
> 1. REMOVE the check mark from USE FOLDER VIEW FOR FTP.
>
> 2. PLACE a check mark at USE PASV for FTP (good for DSL and CABLE MODEM).
>
> Then click OK. Close and reopen IE.
>
> "MAKE SURE YOU DO BOTH STEPS OR YOU WILL NOT BE IN PASSIVE MODE."
>
> "adrian" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> > Hi,
> > I have a small network at home, the one connect to internet has no

> problem
> > in using ftp; the one with IP 192.168.0.2 can use ftp to connect to

remote
> > server, but it cannot open the data port, ie. I can't do command such as
> > dir, put, get etc. I can only use command such as pwd, cd etc. Does

anyone
> > know why? Will my firewall has something to do with this problem?? Thx

in
> > advance.
> >
> > Adrian
> >
> >

>
>



 
Reply With Quote
 
Gino
Guest
Posts: n/a
 
      20th Feb 2004
The FTP Protocol requires two connections a CONTROL CHANNEL and a DATA
CHANNEL. When a client connects to an FTP server (CONTROL CHANNEL), and then
issues a LIST command or DIR or TRANSFER, the DATA CHANNEL is made. On
ACTIVE MODE the server makes the second connection (DATA CHANNEL) back to
the client. If the client is behind a firewall like a DSL router this
connection attempt will fail because the router dosen't know that the client
is waiting for this connection and it blocks inbound connection attempts. On
PASSIVE mode the client makes the second connection to the server. So both
connections are coming from the client and the firewall (DSL router) dosen't
interupt outgoing connections.

"adrian" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hi,
> I have a small network at home, the one connect to internet has no

problem
> in using ftp; the one with IP 192.168.0.2 can use ftp to connect to remote
> server, but it cannot open the data port, ie. I can't do command such as
> dir, put, get etc. I can only use command such as pwd, cd etc. Does anyone
> know why? Will my firewall has something to do with this problem?? Thx in
> advance.
>
> Adrian
>
>



 
Reply With Quote
 
Adrian
Guest
Posts: n/a
 
      20th Feb 2004
Oh! I got it! That's a great lesson, thx very much.

Millions thanks.
adrian

"Gino" <(E-Mail Removed)> wrote in message
news:1fa7b$4035c15b$44a77c62$(E-Mail Removed)...
> The FTP Protocol requires two connections a CONTROL CHANNEL and a DATA
> CHANNEL. When a client connects to an FTP server (CONTROL CHANNEL), and

then
> issues a LIST command or DIR or TRANSFER, the DATA CHANNEL is made. On
> ACTIVE MODE the server makes the second connection (DATA CHANNEL) back to
> the client. If the client is behind a firewall like a DSL router this
> connection attempt will fail because the router dosen't know that the

client
> is waiting for this connection and it blocks inbound connection attempts.

On
> PASSIVE mode the client makes the second connection to the server. So both
> connections are coming from the client and the firewall (DSL router)

dosen't
> interupt outgoing connections.
>
> "adrian" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> > Hi,
> > I have a small network at home, the one connect to internet has no

> problem
> > in using ftp; the one with IP 192.168.0.2 can use ftp to connect to

remote
> > server, but it cannot open the data port, ie. I can't do command such as
> > dir, put, get etc. I can only use command such as pwd, cd etc. Does

anyone
> > know why? Will my firewall has something to do with this problem?? Thx

in
> > advance.
> >
> > Adrian
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:30 PM.