LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 01-20-2015, 11:57 PM   #16
hexdump
LQ Newbie
 
Registered: Jan 2015
Distribution: Robolinux/Debian 7
Posts: 2

Rep: Reputation: Disabled

Quote:
Originally Posted by MikeJay View Post
Hello Hexdump

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.

Welcome to lq!

Last edited by hexdump; 01-21-2015 at 12:08 AM.
 
Old 01-21-2015, 06:34 AM   #17
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,679

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
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?
 
Old 01-21-2015, 07:00 AM   #18
MikeJay
LQ Newbie
 
Registered: Jan 2015
Posts: 0

Original Poster
Rep: Reputation: Disabled
Both are different servers in different "parts of the world" (both in france )

Edit: I want to send the files from Linux to Windows.

Last edited by MikeJay; 01-21-2015 at 11:39 AM.
 
Old 01-21-2015, 11:59 AM   #19
Miati
Member
 
Registered: Dec 2014
Distribution: Linux Mint 17.*
Posts: 326

Rep: Reputation: 106Reputation: 106
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.

Last edited by Miati; 01-21-2015 at 12:03 PM.
 
Old 01-23-2015, 08:49 AM   #20
MikeJay
LQ Newbie
 
Registered: Jan 2015
Posts: 0

Original Poster
Rep: Reputation: Disabled
well, it seems that Im not able to do this... Is there a "marketplace" to hire someone who is able to?
 
Old 01-24-2015, 01:00 AM   #21
Bret W
Member
 
Registered: Jan 2015
Posts: 33

Rep: Reputation: Disabled
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.

Last edited by Bret W; 01-24-2015 at 01:02 AM.
 
Old 01-24-2015, 07:58 AM   #22
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
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.
 
Old 01-24-2015, 08:59 AM   #23
MikeJay
LQ Newbie
 
Registered: Jan 2015
Posts: 0

Original Poster
Rep: Reputation: Disabled
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....
 
Old 01-24-2015, 10:25 AM   #24
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
send/receive files from one laptop to another using ftp HELP plugo Linux - Wireless Networking 2 07-05-2009 09:22 PM
send files and folder ftp infonlinebr Linux - Newbie 3 08-01-2008 12:13 PM
Is there a way to send files to a friend, similar to MSN send file protocol? pablom Linux - Networking 1 05-07-2007 10:16 PM
LXer: Backup MySQL databases, web server files to a FTP server automatically LXer Syndicated Linux News 0 08-11-2006 09:54 PM
Automatically Copying files from the ftp directory into the html directory swatward Linux - General 3 04-17-2005 10:55 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 11:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration