FTP is not working.

Hi,

I'm getting the following error while trying to use the ftp command.
----------------
331 Password required for prodofsa.
Password:
230 User prodofsa logged in.
ftp>
ftp>
ftp>
ftp> ls
200 PORT command successful.
425 Can't build data connection: Connection timed out.
ftp>
--------------------

I have checked with another desktop assigning the same I/P and network cable , where it works find. CAn anybody help me to resolve the problem.

Brayan

From where you are trying to connect ? Linux machine ? What is the command line ? You can get a clear picture by running the command with "-v" flag fore more verbosity. Active / passive mode ?

Hi,

I'm ftp'ing from desktp to HP-Unix server.

Can you help me where to use -v parameter.

Ronald.

like :

ftp -v your-host

Following is the output..

C:\Documents and Settings\nazaretr>ftp -v 172.1.14.72
User (172.1.14.72:(none)): prodofsa
Password:
ftp>
ftp>
ftp>
ftp> ls
ftp>

It waits for a long time and returns nothing.

Ronald.

hi!

kindly check the ftp configuration file , where the setting for the data connection is enable or not.

thanks

Hi,

There will not be any problem becuase, If I ftp from other machines it works. IF i ftp from my laptop it does not work.

It can not be a problem of opening port, becuase I have assigned the same IP for which it was working.

Ronald.

Probably firewall settings and if so switching to passive ftp might work. Get a better client from NcFTP Software: Download and use the passive command. Then use it like this

ncftp> passive
passive                        on
ncftp> open -u joeblow saltmine.radix.net
Resolving saltmine.radix.net...
Connecting to 207.192.128.40...

Saltmine.radix.net ftp services (radix.ftpd2)
Logging in...

Password requested by 207.192.128.40 for user "joeblow".

    Password required for joeblow.

Password: ******

User joeblow logged in.
Logging in...
Logged in to saltmine.radix.net.

ncftp /export/home/joeblow >

Is it possible to set passive mode using windows command line.

I tried with

ftp> quote PASV

it didnt work. Is it correct, is there is another way of doing it???

Ronald.

How did you do "quote PASV" without using command mode? But no, that won't work. In addition to sending PASV, the client must do considerable work on its own. Recent versions of IE can be configured to use passive mode during an ftp transfer. Try that if you must.

Hi,

I logged into the server first

then

ftp>
ftp> quote PASV
227 Entering Passive Mode (172,1,14,72,199,231)
ftp>

Yeah, it is working in IE.

Regards,
Ronald.