Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have a windows machine and I need to transfer files from my machine to another Linux virtual machine which I have created.

How do I install a FTP server on those VM's to transfer files via FTP protocol? I'd appreciate it if anyone can direct me to a link which gives a clear idea regarding what all FTP is all about?

share|improve this question
    
It depends on what linux distribution you have installed on your VM. –  Krzysztof Księżyk Dec 6 '12 at 7:50
1  
I suggest to use SFTP/SCP instead. Install SSH server in the virtual machines and use WinSCP to transfers files. Alternatively, if one VM can reach the other, just scp file name@host:/path/to/where directly. –  gertvdijk Dec 6 '12 at 8:08
    
@jasonwryan Thank you very much for your reply.. After listening about SCP and SFTP i went through google for more info and found a good link where i got to know all about FTP.Now i am able to transfer files to my VM. The site i looked is linuxhomenetworking.com/wiki/index.php/… –  Vinay Dec 6 '12 at 13:26

1 Answer 1

vsFTPd preinstalled in RHEL&CentOS you can use it.

# /etc/init.d/vsftpd
Usage: /etc/init.d/vsftpd {start|stop|restart|condrestart|status}

But change config file # vi /etc/vsftpd/vsftpd.conf by default root directory is according to /home/[login_name]. You can chroot by default it's not secure.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.