If answer = bytes("Passwords are not the same. Sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 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 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. Serv = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 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. 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 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |