Solved

FTP Issue

Posted on 2009-05-14
8
476 Views
Last Modified: 2013-12-16
I am have Ubuntu 8.10 running among other things VSFTP and VirtualBox with an XP Virtual Machine...everything works fine but when i ftp from the XP command prompt to the host pc i can login but when i do an LS or DIR i get the error below. If i connect from a different computer to the ftp server it works fine..

500 Illegal PORT command
425 Use PORT or PASV first.


Any idea whats going on?
0
Comment
Question by:akalbfell
  • 5
  • 2
8 Comments
 
LVL 3

Expert Comment

by:cevoman
ID: 24389244
The server needs to know wheather you want to use a port-mode channel or passive mode channel, most clients do this automatically for you

type 'quote PASV' and it should work fine

kind regards
James
0
 
LVL 8

Author Comment

by:akalbfell
ID: 24389271
i tried that. when i issue the quote PASV command i get back
227 Entering Passive Mode (127,0,0,1,170,93)

but when i do a DIR or LS i just get a blinking cursor forever
0
 
LVL 3

Expert Comment

by:cevoman
ID: 24389335
ok have you tried 'quote PORT' this should induce Active(port) mode
Let me know if you have any luck

Kind regards
James
0
 
LVL 8

Author Comment

by:akalbfell
ID: 24389397
in regards to the quote PASV command and doing a DIR or LS, after a while i finally get a 425 Failed to establish Connection error

when i do quote PORT i get 500 Illegal PORT command
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 7

Expert Comment

by:Morne Lategan
ID: 24389844
Open control panel and make sure windows firewall is disabled. The default windows firewall settings have always messed up all my applications that use ftp. Also have a look at your antivirus firewall, if you have one installed. Disable it and try again.
0
 
LVL 8

Author Comment

by:akalbfell
ID: 24389877
its off already
0
 
LVL 8

Author Comment

by:akalbfell
ID: 24394693
i switched to proftpd same issue, attached is the output from the log after i login and then issue a dir command...btw the ip of the virtual XP machine is 10.0.2.2

May 15 08:25:42 ubuntulap proftpd[6688] ubuntulap (localhost[127.0.0.1]): FTP session opened.

May 15 08:25:46 ubuntulap proftpd[6688] ubuntulap (localhost[127.0.0.1]): USER xxxxxx: Login successful.

May 15 08:25:49 ubuntulap proftpd[6688] ubuntulap (localhost[127.0.0.1]): Refused PORT 10,0,2,2,170,253 (address mismatch)

Open in new window

0
 
LVL 8

Accepted Solution

by:
akalbfell earned 0 total points
ID: 24395907
i was able to resolve the issue, for the most part.
I updated to a newer version of Virtualbox that supports bridging out of the box. When i setup like this the virtual machine gets its own Ip and everything works fine. just have to figure out how to get the virtual machine to communicate with the host if no DHCP server is available.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now