Running 4.3.6 r91406 under Windows 8.1 with guest XP Pro SP3.
I have been having trouble keeping my external USB drive connected under the guest XP machine. It frequently does not want to stay connected, and even though the VM captures the USB drive from the host, I get a message saying that it is unable to connect to it. One of the solutions I came up with was to install an FTP client on the host machine and connect to it, but the NAT is driving me crazy. It seems that I'm running into some of the issues in https://www.virtualbox.org/ticket/4427 and https://www.virtualbox.org/ticket/4465. What I'm finding is that even though I think I'm switching to passive mode, things aren't working quite right. I'm thinking the server is still trying to do the transfers on another channel. I think the problem arises at the line "PORT 10,0,2,15,19,138" as I think it is supposed to be sending back on the control channel, right? What am I doing wrong and how can I make this work? See client and server logs below:
My ftp client log:
ftp> open 10.0.2.2
Connected to 10.0.2.2.
220-FileZilla Server version 0.9.43 beta
220-written by Tim Kosse (tim.kosse@filezilla-project.org)
220 Please visit http://sourceforge.net/projects/filezilla/
User (10.0.2.2:(none)): carl
---> USER carl
331 Password required for carl
Password:
---> PASS XXXXX
230 Logged on
ftp> quote PASV
---> PASV
227 Entering Passive Mode (127,0,0,1,231,58)
ftp> ASCII
---> TYPE A
200 Type set to A
ftp> put test.txt.txt
---> PORT 10,0,2,15,4,141
200 Port command successful
---> STOR test.txt.txt
150 Opening data channel for file upload to server of "/test.txt.txt"
The logs from the server:
(000040)1/5/2014 14:10:03 PM - (not logged in) (127.0.0.1)> Connected, sending welcome message...
(000040)1/5/2014 14:10:03 PM - (not logged in) (127.0.0.1)> 220-FileZilla Server version 0.9.43 beta
(000040)1/5/2014 14:10:03 PM - (not logged in) (127.0.0.1)> 220-written by Tim Kosse (tim.kosse@filezilla-project.org)
(000040)1/5/2014 14:10:03 PM - (not logged in) (127.0.0.1)> 220 Please visit http://sourceforge.net/projects/filezilla/
(000040)1/5/2014 14:10:05 PM - (not logged in) (127.0.0.1)> USER carl
(000040)1/5/2014 14:10:05 PM - (not logged in) (127.0.0.1)> 331 Password required for carl
(000040)1/5/2014 14:10:10 PM - (not logged in) (127.0.0.1)> PASS ******
(000040)1/5/2014 14:10:10 PM - carl (127.0.0.1)> 230 Logged on
(000040)1/5/2014 14:10:37 PM - carl (127.0.0.1)> PASV
(000040)1/5/2014 14:10:37 PM - carl (127.0.0.1)> 227 Entering Passive Mode (127,0,0,1,231,58)
(000040)1/5/2014 14:10:42 PM - carl (127.0.0.1)> TYPE A
(000040)1/5/2014 14:10:42 PM - carl (127.0.0.1)> 200 Type set to A
(000040)1/5/2014 14:10:48 PM - carl (127.0.0.1)> PORT 10,0,2,15,19,138
(000040)1/5/2014 14:10:48 PM - carl (127.0.0.1)> 200 Port command successful
(000040)1/5/2014 14:10:48 PM - carl (127.0.0.1)> STOR test.txt.txt
(000040)1/5/2014 14:10:48 PM - carl (127.0.0.1)> 150 Opening data channel for file upload to server of "/test.txt.txt"
(000040)1/5/2014 14:10:48 PM - carl (127.0.0.1)> 425 Can't open data connection for transfer of "/test.txt.txt"
(000040)1/5/2014 14:12:48 PM - carl (127.0.0.1)> 421 Connection timed out.
(000040)1/5/2014 14:12:48 PM - carl (127.0.0.1)> disconnected.
FTP connection from guest to host
-
CarlSeiler
- Posts: 11
- Joined: 17. Jul 2009, 01:42
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Linux, Windows XP, Windows Vista
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: FTP connection from guest to host
Getting FTP to work is a network config problem, not a VirtualBox question - though obviously I'm assuming you use something other than NAT networking.
Why not simply locate a shared folder on the USB drive?
Why not simply locate a shared folder on the USB drive?