Solved

FTP Issue

Posted on 2009-05-14
8
488 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
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
 
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 Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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 …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

790 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