FTP Unable to open data connection problem

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
JL555
Posts: 1
Joined: 25. Sep 2017, 23:32

FTP Unable to open data connection problem

Post by JL555 »

I have Windows 10 as a guest OS and try to connect to FTP server using FTP command in Command Line.
I am able to log on (230 xxx is logged on.) but I can't do any other operation.
For example, if I do 'ls', it hangs a while then fails with '425 Unable to open data connection problem'.
I have NAT as my network setting. I have an internet connection as I'm able to browse internet using a web browser in guest OS.
How do I fix this problem?

Thanks for your help in advance!
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: FTP Unable to open data connection problem

Post by mpack »

I'd guess that it's time to try bridged networking.
Martin
Volunteer
Posts: 2561
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: FTP Unable to open data connection problem

Post by Martin »

FTP is working by default in "active mode" where the server tries to open the data connction to the the client.
This doesn't work with NAT. For NAT connections you need to switch your FTP client to passive mode.
Post Reply