Topic "Automate linux - windows file trasfer"

Author Message
Confuseis
[View user's profile]

Joined: 2013-11-18
Posts: 2
Hi All

Im looking for an example fo how automate the copying of files from a linux system to a windows share.

I know I can use the WinScp Gui to transfer the files manually.

I would like to copy over e.g. log files from the linux server to the windows box automatically.

Im thinking batch file for winscp that is launched from the windows box via the task scheduler.

Anyone have any advice or command examples?

Thanks for reading

Confuseis
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Please read documentation:
http://winscp.net/eng/docs/guide_schedule
http://winscp.net/eng/docs/guide_automation

If that does not help, come back.
_________________
Martin Prikryl
Confuseis
[View user's profile]

Joined: 2013-11-18
Posts: 2
Actually I should have been more specific. Its a smoothwall linux box and I access it's log files using sftp.

I have browsed through the sections but im too dumb to see the exact commands I should use.

I can see that I run the winscp /xyz.txt and it runs the commands in the text file like a batch file which is cool

I couldnt figure exactly which commands to combine as I couldnt see an example of what I was trying to do.

Thanks

Confuseis
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License