Link to home
Start Free TrialLog in
Avatar of akalbfell
akalbfell

asked on

FTP Issue

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?
Avatar of cevoman
cevoman

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
Avatar of akalbfell

ASKER

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
ok have you tried 'quote PORT' this should induce Active(port) mode
Let me know if you have any luck

Kind regards
James
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
Avatar of Morne Lategan
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.
its off already
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

ASKER CERTIFIED SOLUTION
Avatar of akalbfell
akalbfell

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial