Page 1 of 1

ftp error communicating with windows 10 host

Posted: 12. Aug 2019, 22:42
by linuxmaster56
my laptop is windows 10.
I have configured a ubuntu 19.04 virtual system using virtual box.
today I setup a ftp server on my windows 10 system so that I can easily transfer files back and forth between my windows 10 laptop and the virtual ubuntu system.

I can successfully login to the ftp server from the terminal command line under ubuntu 19.04, bu after that nothing seems to work. even a simple "dir" command gets a complaint about an invalid parameter.
when I attempt to send a file to the ftp server I received the following error messages:

501 - server cannot accept argument.
win32 error : the parameter is incorrect.
error details : client ip on the control channel didn't match the client ip on the data channel.
501 end


Any ideas as top how I can resolve this issue?

Thanks.

Re: ftp error communicating with windows 10 host

Posted: 12. Aug 2019, 22:50
by scottgus1
FWIW there is an easier way to transfer files between host and guest: use Guest Additions Shared Folders, see the manual, section 4.3

If you are set on using FTP, you'd need a real network between host and guest. If each OS can ping the other, then the network is working and communication glitches would be with the communicating programs, not Virtualbox.

Of course, once you have a real network you can fire up Samba et al and use a real shared folder.

Re: ftp error communicating with windows 10 host

Posted: 12. Aug 2019, 22:56
by linuxmaster56
I tried to get shared folders to work and I had no success. after I setup the shared info on my virtual ubuntu system I went back to my windows 101 host and went I went into the nertworking, there was no virtual box info showing under my networks.

Re: ftp error communicating with windows 10 host

Posted: 12. Aug 2019, 23:02
by scottgus1
Virtualbox has several kinds of networks available, some of which may not be suitable for file transfer. What kind of network did you set in the guest Virtualbox Network settings?

Also Guest Additions Shared Folders does not need a network.

Re: ftp error communicating with windows 10 host

Posted: 12. Aug 2019, 23:17
by linuxmaster56
I just did a google search on sharing files between a virtualbox system and the actual windows host. I found an article and followed the steps. The steps on the virtual ubunto system had no problems. but when I went back to my windows 10 host I had big problems.

The instructions from the webpage I found stated : n this case, you can either browse to the shared folder by going to Computer – Network – VBOXSVR or you can map a drive letter to that shared folder.

There was no "VBOXSVR" or anything like it under my list of network connections

Re: ftp error communicating with windows 10 host

Posted: 13. Aug 2019, 03:26
by scottgus1
I think you got the setup backwards. The actual folder being shared through Guest Additions is on the host, and the VBOXSVR is to be found on Windows guests. The manual says the Linux guests have another file system that needs to be mounted. I'm no Linux guy, you might get better help on Guest Additions Shared Folders (GASF) in the Linux Guests subforum.

For Windows host and guest, here's how GASF works:

Be sure the Guest Additions are installed in the guest OS. They don't get installed in the host OS.
Pick a folder on the host drive you want to access in the guest. As an example, make a new folder on the C drive, 'C:\guestfolder'.
In the guest's settings in the main Virtualbox window, open Shared Folders. Click the blue folder icon on the right with the green plus sign.
Browse to the folder you want to share, 'C:\guestfolder'.
Don't check anything else; for now put nothing in Mount Point. Click Ok, then close the guest settings..
In the Windows guest, go to Network and find 'vboxsvr' or type \\vboxsvr in any folder's address bar or the Run... box. The 'vboxsvr' will appear, with your shared folder 'guestfolder' ready to open.
If you want a drive letter to access this folder in the guest, make the share point to \\vboxsvr\guestfolder'.

How to find and access the guest folder in a Linux guest is beyond me at this time. I will try it tomorrow. The 'Linux Guests' gurus would know better.

Re: ftp error communicating with windows 10 host

Posted: 13. Aug 2019, 10:24
by mpack
Please provide a VM log file. With the VM fully shut down, right click it in the GUI. Select "Show Log" and save "VBox.log" (no other file) to a zip file. Attach the zip here.