Topic "Download, check latest and automate the process"

Author Message
newwin
[View user's profile]

Joined: 2012-10-01
Posts: 1
Hi All,
I'm new to WinScp and i have a task to be accomplished :

1.Download a zip file from an SFTP Server
I saw in the documentation -
open sftp://user:password@example.com -hostkey="ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx"
Is the hostkey mandatory for file download from SFTP ?

2.Next day, if theres a new zip file on the SFTP Server and then I have to download the file
i.e. every day I want to compare my local with remote(STP Server) and if the file on the SFTP is latest then I wanted to download.
Is this something which we can achieve through Synchronization ?

3.What are the best options for the above 2 steps to be automated ?

Any suggestions on the above ?

Environment : Windows Server 2008 R2 Enterprise SP1
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
newwin wrote:
Is the hostkey mandatory for file download from SFTP ?

It is strongly recommended.

Quote:
2.Next day, if theres a new zip file on the SFTP Server and then I have to download the file
i.e. every day I want to compare my local with remote(STP Server) and if the file on the SFTP is latest then I wanted to download.
Is this something which we can achieve through Synchronization ?

Sure.

Quote:
3.What are the best options for the above 2 steps to be automated ?

Please start here:
http://winscp.net/eng/docs/guide_automation
_________________
Martin Prikryl
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