transferring files to from Windows machine to Linux
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If you want something easy and quick to set up the easiest thing is to just setup samba/cifs and use that. I wouldn't use NFS for windows, it's possible but I don't advice it.
Another straigforward solution would be to just use WinSCP and do the thing over ssh, that is, as long as you have ssh running on your server. You can set it up with key pair authentication for extra comfort. But, as said, the most transparent solution would be samba.
Hola,
Is there a particular reason why you advice against NFS? Just out of curiousity. Have you encountered problems with it?
Is there a particular reason why you advice against NFS? Just out of curiousity. Have you encountered problems with it?
Yes. I've had problems with it even under Linux (but that's another story).
Bear in mind however that all I talk about applies only to xp and below, I have no idea what the status of the nfs support for vista and seven is.
I've used it in the past and found it to be a bit weak and unstable, I've also had problems with utf8 encodings (no idea if this has changed).
But the main thing is that samba/cifs is just easier to handle and better integrated in Windows for my tastes. For nfs you have to install additional software while the smb/cifs stuff will just work out of the box. Not that samba hasn't its own assortment of problems, but most of them are either fixed or at least mitigated by the newer cifs.
I'll admit that I haven't used cifs a lot though, since I don't own any windows based machine nowadays.
Thanks for reply. I just had one more question about samba. I am not security expert. I was told it should be used only for local trusted file sharing because it is unencrypted. Does this mean that it is possible for someone to intercept my files as I upload them? I would prefer to prevent this from happening as some files might contain private information that I don't want others to see.
If you have data that changes infrequently and don't mind backing up manually; as per the previous poster WinSCP is definitely the way to go.
You could initiate your backup from your Linux server; by NFS/CIFS sharing the Windows/Linux dual boot machine (you'd need to configure an NFS share on the Linux partitions and on the Windows side enable sharing of the Windows partition). Thereafter on your server you could mount the mount the shares and thereafter have a script of some sort that initiates a simple compress and move of the data to the server's hard disk.
If this all backup thing is in your local network, then you can synchronize using rsync, Union, or simply use SAMBA for file sharing with windows. Your internal network should most probably be under your protection.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.