GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
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.
thanks for your reply. Unfortunally this is not what ive asked for... I need a solution that does all that automatically. If I have to drag and drop on my own, i could use a ftp program liike filezilla or winscp that work perfect...
Actually, the drag n' drop was a second option if you didn't want the shared folder option.
With the shard folder option, a windows folder of your choice will be mounted inside the linux VM. So when you copy files from your linux server to the linux VM, the files is really going to the windows shared folder. Your linux VM will be like a conduit to your windows folder.
In this scenario , you will have two linux machines ( one real and one virtual ) and With this type of set up you will have more options to choose from when transferring files like using ftp, scp, rsync, samba, sshfs and etc...
PS: I would recommend rsync to send your files. The first run of rsync will copy the files you want, after that, the next run of rsync will only copy new and modified files only. So rsync and a crontab scheduale should do quite nicely.
Setting up a rsync server as well as the other services listed here from all repliers is easy to set up with many online and video tutorials.
There is pscp and psftp that work similar to the linux versions. Using keys and windows task schedular you can automate sending files to a linux PC.
Are the computers on the same local LAN? As stated you can transfer files via samba automatically from either a windows or linux PC. What linux distribution / version are you running?
Since the computers are located in different areas, security should be a priority.
Also, if you plan on copying to windows something on windows must be automated.
e.g. windows is waiting for a connection or it is making the connection at a certain time.
I remember windows automation (batch scripts) being a bit of a nightmare.. so the latter might not work easily.
As a alternative, I think you can run the ssh server (sshd) on windows.
No assurance of how well or even if it works.
In that case, windows would be waiting for a connection, so you could automate the copy over to windows like this
Code:
scp file user@windowsserver:/dir/to/file
Public key is needed for automation of course & the port will have to at least be open on the server.
If you're going to access your window's ssh server over the internet, I believe you will need to open a port on your router i.e port forwarding. You will need to enter the IP address and port number of your window's ssh server. It's best to have a static IP address for the ssh server and a different port number. You may also need to accept ssh connections if a firewall is present.
If the Linux box is on all the time, how about running an Owncloud server on it? There are ownloud clients for pretty much any OS, and it is a drag-and-drop system.
well, that seems to be just a sync app as well, or? Ive tried, but stuck at connecting to the serer as it asks for a verification that i offered, but seems to be declined.... other connections work....
have you thought about installing a gnu/linux distro on your desktop ? it would be easier for us to help with suggestions since most of us can navigate linux better than windows.
else, find a command-line utility (that doesnt depend on keyboard/mouse input) for windows that you can schedule.
or set up a type of server on windows that doesnt rely on the user to type in username/password (and allow for the proper port forwarding on your router) and set up a crontab in the linux server to send files to your windows desktop.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.