LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-28-2010, 11:25 PM   #1
maheshp86
LQ Newbie
 
Registered: Jun 2010
Location: mumbai
Posts: 22

Rep: Reputation: 0
ftp client


Hi all


i am trying to access my ftp server through command line , but it throws the following error

[root@node2 ~]# ftp a1@node1.ping.com
ftp: a1@node1.ping.com: unknown host
ftp>
ftp> by
[root@node2 ~]#
[root@node2 ~]#
[root@node2 ~]# ftp a1@10.10.40.211
ftp: a1@10.10.40.211: unknown host
ftp>
ftp> by
[root@node2 ~]#


but i can able to log into ftp server through
following

[root@node2 ~]# ftp 10.10.40.211
Connected to 10.10.40.211.
220 (vsFTPd 2.0.5)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (10.10.40.211:root): a1
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>



why it is like this ??

pls guide me...
 
Old 11-29-2010, 02:05 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
usage: ftp host-name [port]

That's the synopsis of ftp program. I guess you have to contact the authors of ftp to ask them why. It is not parsing further arguments.

If you use lftp instead you can give some more arguments, i.e. the user...

Last edited by j-ray; 11-29-2010 at 02:08 AM.
 
Old 11-29-2010, 02:15 AM   #3
davinders
LQ Newbie
 
Registered: Nov 2009
Posts: 25

Rep: Reputation: 1
Pls give the entry in /etc/hosts file of your server....it will work.
 
Old 11-29-2010, 07:24 AM   #4
x-nc
Member
 
Registered: Feb 2007
Location: VA, USA
Distribution: CentOS, Fedora
Posts: 53

Rep: Reputation: 5
Quote:
Originally Posted by maheshp86 View Post
[root@node2 ~]# ftp a1@node1.ping.com
ftp: a1@node1.ping.com: unknown host

but i can able to log into ftp server through
following

[root@node2 ~]# ftp 10.10.40.211
Connected to 10.10.40.211.
220 (vsFTPd 2.0.5)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (10.10.40.211:root): a1
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.

why it is like this ??

pls guide me...
The standard ftp client does not accept a username prepended to the address. If you want to log onto a server like this use lftp or ncftp. Or better still, sftp.
 
  


Reply

Tags
ftp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
file transfer program in c using FTP client and FTP server renuaseri Linux - Newbie 2 01-29-2011 05:49 AM
An X ftp client that has Move capability (into the same ftp) ? frenchn00b Linux - Software 3 12-19-2008 07:22 PM
ProFTPd ... FTP client fails to connect: timeout after client sends 'LIST' nutnut Linux - Software 2 01-01-2006 07:09 PM
ftp client chrismiceli Linux - Software 1 07-01-2004 08:14 PM
ipchains, ftp from client to non-ftp ports atari303 Linux - Networking 2 11-08-2002 02:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration