Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

FTP Issue

Posted on 2009-05-14
8
Medium Priority
?
517 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month20 days, 21 hours left to enroll

810 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