LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-03-2009, 03:13 AM   #1
gitecravirs
Member
 
Registered: Mar 2009
Posts: 40

Rep: Reputation: 15
Unhappy problem with ftp command


Hi Everyone,
whenever i run "ftp 192.168.122.3" command (where 192.168.122.3 is the addr. of remote host where vsftpd is running), i got succesful login.After then when i do "ftp> ls" then i got following as error--->
"500 illegal EPRT command "
please tell me how to solve this problem?
my systems have ubuntu-8.04, kernel-2.6.24-19
 
Old 07-03-2009, 09:20 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
You can try turning off passive mode and see if that helps.
Once FTP'd to the server, type "passive" and it should say that passive is off. Then try the command again.
 
Old 07-06-2009, 02:02 AM   #3
gitecravirs
Member
 
Registered: Mar 2009
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by repo View Post
You can try turning off passive mode and see if that helps.
Once FTP'd to the server, type "passive" and it should say that passive is off. Then try the command again.
Thanks for your help, but the problem is i dont know how to turn-off passive mode.Can You help me?
 
Old 07-06-2009, 04:38 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Try
Code:
ftp -p 192.168.122.3
 
Old 07-06-2009, 08:11 AM   #5
gitecravirs
Member
 
Registered: Mar 2009
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by repo View Post
Try
Code:
ftp -p 192.168.122.3
hi, im able to login t remotehost via ftp command but im unable to access any remotehost's file. i got following things :-
ftp> ls
500 Illegal EPRT command
ftp: bind: Address already in use
ftp> pwd
257 "/home/prithvi"
 
  


Reply


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
FTP / Command line ftp quesion 200mg Linux - Server 4 05-06-2008 04:21 PM
problem with ln command in ftp venki Linux - Newbie 1 03-15-2007 06:01 AM
FTP Command Line (Scripting Multiple FTP gets) Critcho Linux - Software 3 01-05-2007 12:57 AM
Ftp Problem (500 Illegal Port Command) Palula Linux - Networking 3 05-08-2006 08:49 AM
what is different with Ftp From browser and Ftp from command line zahra79 Linux - Networking 2 06-22-2005 04:26 AM


All times are GMT -5. The time now is 02:35 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration