File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Linux / UNIX and the fly likes ftp connection problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "ftp connection problem" Watch "ftp connection problem" New topic

ftp connection problem

nandini lagunia
Ranch Hand

Joined: May 05, 2009
Posts: 57
I am using XP and want to connect to Linux ftp server.
From the command promt I issued the command ftp
But it's showing connect :Unknown error number.
Can anyone tell me what the problem is as it's stopped me from
proceeding any further?

Thanks in advance
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14656

It's hard to say where the problem is with so little information.

Maybe a firewall on Windows or on the Linux machine is blocking the connection. Is the FTP server on the Linux machine running? Can you connect to the Linux machine via another way?

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
nandini lagunia
Ranch Hand

Joined: May 05, 2009
Posts: 57
Thanks Jesper!!
I guess there's some issue with my Linux box as I am comfortably connected to
Solaris box with the same command.
I agree. Here's the link:
subject: ftp connection problem