![]() ![]() closing connection')Ĭonn.sendall(bytes('Passwords are not the same.', 'UTF-8'))Ĭonn.sendall(bytes('Passwords are the same.', 'UTF-8'))į = open('recv/' + code("UTF-8"), 'w')įileTransmiter.py (on computer that send file): import socket Serv = socket.socket(socket.AF_INET, socket.SOCK_STREAM) If someone need this program here is code: (in both change for IP of fileServer)įileServer.py (on computer that you want to recieve files): import socket I marked one answer as good, but I managed to solve my problem before it. Is there any way to copy files from Ubuntu 15.04 (Virtual machine) to Windows 7 or USB drive? I have tried to access my USB drive from Virtualbox but it didn't help (I had to format hard drive after connecting to windows). As I have only CLI, I cannot use shared folders. It took a while to figure out that I should be using ip.I have a virtual machine on Virtualbox with Ubuntu 15.04 (Command Line Interface only) and I want to copy files from the virtual machine to the host. PS I've had all kinds of fun adventures while doing this, for instance being utterly confused as to why ipconfig was not installed. I'm still working on this, any advice would be appreciated. So I started following these instructions: Half way through, I realized that I didn't have sshd installed on the guest, so I attempted to do that, but apparently creating the local only network adapter broke internet access for the guest OS! and rebooting.Įventually, I decided maybe a network transfer would work instead. It seemed to run without problems, but drag and drop didn't work even after enabling bi-directional drag and copy-paste, etc. I followed instructions to install guest-extensions, or whatever it was called, but the run-script wouldn't execute (I think it didn't have execute permission or something, but was also read only, so I couldn't fix it) so I copied the script to the home folder, and executed it there. ![]() My first attempt was by using drag and drop. My host is archlinux, my guest is debian (which I'm not very familiar with). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |