Seven methods for sharing files between virtual machine vmware workstation and host

Source: Internet
Author: User

 

The installation and configuration of virtual machines have been studied in the past few days. However, the network settings of these virtual machines are a little difficult (except that the virtual machines can only access the Internet through NAT. The following are some ways to share files between hosts and virtual machines on the Internet! Share with you

The test environment is:

Physical Machine:Win XP SP2 patch all systems

Virtual Machine version: VMware Workstation 6.0.0 build 45731
Virtual Machine Operating System: pure version Win XP SP2
========================================================== ======================================
Method 1: drag a file between a physical machine and a virtual machine

This is needless to say, but it should be noted that in some cases, dragging may cause errors. When using vmware workstation 6 to drag a file/folder to the virtual machine, the full path name of the source file/source folder (and its subfolders) on the physical machine cannot contain non-standard ASCII characters. That is to say, the full path name of the full path/source folder (and its subfolders) of the source file can only be English characters, and an error will be reported if there are Chinese characters. Several times of dragging may cause the explorer process of the virtual machine to fail or report the third request below. At this time, you cannot drag or copy anything to the virtual machine. Restart guest and you cannot drag or copy it. You must disable the VM before enabling it.
If the full path name of the source folder (and its subfolders) contains non-standard ASCII characters, the system will prompt:"
Cannot scan local directory. You may not have permission to perform the operation. Aborting the file copy operation.

(Meaning: The local directory cannot be opened. You may not have the permission to perform this operation and exit abnormally during copy)

If the full path name of the source file contains non-standard ASCII characters, the following message is displayed:
Cannot determine local file size. You may not have permission to perform the operation. Aborting the file copy operation.

 

(Meaning: the size of the target file cannot be checked. You may not have the permission to perform this operation and exit abnormally when copying the file)

 

This prompt is sometimes displayed when you drag multiple times:

 

Cannot creat diretctory on Virtual Machine. Aborting the drag and drop operation.

 

(This means that you cannot create a directory on the VM. Unexpectedly exits during the drag operation)

========================================================== ======================================
Method 2: Use VmwareShared Folder on

Open the VM, click "Edit Virtual Machine Settings", and select "Shared Folders" in "options" to select the always enables option on the right, as shown in the figure:


Click Add to select the folder to be shared by the physical machine and click OK. Start adding Shared Folders














After opening the VM, right-click "physical neighbors" and select "ing Network Disk ",



Click Browse, select "all networks", and select the folder on the physical machine that you have shared.










In this case, you can add or delete files in the shared folder from the host or virtual machine.

========================================================== ======================================
Method 3: Enable FTP on the local machine
As we all know, we need an FTP tool. This type of tool can use the FTP function on the IIS server that comes with Windows XP (not recommended or troublesome ), you can also find a lot of these tools on the Internet. If you don't talk nonsense, see the picture:

For FTP tools, I still like to use ser-U.










Different FTPThere are different settings.

Set up to play FTP on the hostAfterOpen the VM and enter your IP address.Address to access

Many people access the Internet through ADSL, And the IP address changes every time they start up. If you need to check the IP address first, isn't it troublesome? Here is a better method. You can run the Desktop Domain name resolution system on your machine (for example, 3322 xiwang domain name can register and download the client for free), as shown in the figure:












Enter your FTP: // domain name in the Virtual Machine System, in addition, other people on the network can share your files and data (for security reasons, it is best to set a user and password for FTP to prevent unauthorized access !)



You can also operate files using FTP (as long as you have enough permissions)

========================================================== ======================================
Method 4: The physical machine and Virtual Machine form a LAN

In this way, you can create a network neighbor on your physical machine and virtual machine to add the Peer to each other.

I believe everyone will show only the following images:


Create a network neighbor. Note: The IP addresses of physical machines and virtual machines must be in the same network segment and the working group names must be consistent!








































After it is set up, it is like sharing files with local networks! Enable the Guest account to create shared folders.

========================================================== ======================================
Method 5: Use Remote Control Software

Have you heard of the gray pigeon! (Rely on me! Isn't the gray pigeon a trojan? You actually... ) Don't worry. In fact, the original intention of the company during development is to provide convenience for network administrators of enterprises and other departments to manage computers and servers within the company, later, the powerful control function of the gray pigeon was noticed by some "hackers" and often used for "committing crimes". Many people "talking about the color of the pigeon" results in the dark pigeon being attacked by the anti-virus manufacturer ..... N more nonsense! Let's take a look at how to use the gray pigeon to share data between the host and the virtual machine. Let's continue with the figure: (I declare that I strongly oppose using the gray pigeon to control others' computers, I am not liable for any improper ideas arising from this article and "committing crimes !)

























You can go to some network security sites to learn about how to configure the gray pigeon!

========================================================== ======================================
Method 6: Use the virtual Optical Drive

You can use the ultraiso software (downloaded online) to package it into an ISO file, and then set the Virtual Machine. Let's see the figure;


Package the file (I packed the NOD32 file here). Pay attention to the suffix!




Set Vmware



/]


========================================================== ======================================
Method 7: Use third-party file transfer software

The third-party software mentioned here is software such as the Flying Pigeon book, file bus, etc. These soft tools can send a file to one or more recipients. Let's take the file bus as an example:








========================================================== ======================================
Method 8: Use a Network Disk

This method is the most efficient, but if you have something fun on your computer, you can first save it to the online disk, and then download and test it from the online disk when you go home and boot it to the virtual machine.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.