FTP connection

when I FTP abc(unix serve name) from "RUN",
it shows:
 >ftp:connect:Unknow error number

what happen ?how to fix it ?

note that I can putty "abc" login unix, and also I did a lot this to FTP data file between Windows and Unix in different company

Who is Participating?

Improve company productivity with a Business Account.Sign Up

sshah254Connect With a Mentor Commented:
Go to Run - > Cmd

In the DOS box, ping abc - does that work.

If that works, then try ftp abc and see if that works or not.

Check your firewall if you have any running on he machine and see if FTP ports 21&22 are blocked or not.

If there is a firewall between your machine and the UNIX machine (abc) and if FTP is blocked by that firewall, then talk to your network admin.

upanwarConnect With a Mentor Commented:
First check the ping to the ftp box.

Then try to nslookup ftp box.

Start ---> Run ---> cmd

ping <Server Name>

nslookup <Server Name>

If both works then try to execute below given command.

telnet <server name> 21

If you get escape character then everything works file.

If nothing works, Please show us the output of above given commands.
SayYou_SayMeAuthor Commented:
thanks guys

1. ping abc, it works

ping abc

Pinging abc [] with 32 bytes of data:

Reply from bytes=32 time=77ms TTL=61
Reply from bytes=32 time=69ms TTL=61
Reply from bytes=32 time=67ms TTL=61
Reply from bytes=32 time=68ms TTL=61

Ping statistics for
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 67ms, Maximum = 77ms, Average = 70m

2. nslookup abc, it DID NOT work
*** Can't find server name for address Non-existent domain
Server:  xxxx2.ddddd.com

Non-authoritative answer:
Name:    abc.xxx.yyy

3. telnet abc 21,  it DID NOT work

Connecting To abc..Could not open connection to the host, on port 21: Conne
ct failed

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

m_walkerConnect With a Mentor Commented:
Can you ftp to its IP Address :  (from your ping above).

My guess, based on the telnet not working, is ftp is not setup on the linux box.  you can try to scp (its like ftp but via ssh).  A free program is winscp

Or have a look on the linux box and ensure ftp is setup.
SayYou_SayMeAuthor Commented:

it shows:

 >ftp:connect:Unknow error number
m_walkerConnect With a Mentor Commented:
I am thinking that either ftp is not running on the linux box or the linux box as iptables running blocking ftp traffic.

Differnet versions and flavors of linux have differnet ftp deamons so a little hard to say how to check if ftp is running.  You could check your services and see if there is an ftp of some sort in the list.

on fedora you can type setup, then select services and scroll down.

for the iptables check
iptables -L -v
should show all the main rules and tables.
upanwarConnect With a Mentor Commented:
Just do the followng and update what you are getting.

telnet 21
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.