SFTP - Windows Script to Automate Synchronize Remote to Local Directory using WinSCP

SFTP - Windows Script to Automate Synchronize Remote to Local Directory using WinSCP


WinSCP Script - https://goo.gl/XyYXTp
WinSCP - Batch File - https://goo.gl/PBcNz6
WinSCP Download (download Portable) - https://winscp.net/eng/download.php
WinSCP Scripting Resource - https://winscp.net/eng/docs/scripting

Demo of using WinSCP to script the automation of synchronizing Remote SFTP directory with a Local Directory
Closed Caption:

so I'm going to demonstrate here how to
do synchronization between a smtp server
in a local directory so i have here
winscp
and you can get that from winscp dotnet
and i'm going to log in here
and you'll notice it's going to prompt
me for a host key what I'm going to do
here is copy the fingerprint so i'm
going to copy the key and i'll be using
the key in my script later on I'm going
to click no here to save the key and now
you see in my remote directory I have a
source folder and my source folder i
have six files and in my local directory
only have the two files and i'm going to
automate the copy or synchronization of
the remote directory to my local
directory and what I've done here again
in my winscp folder i have a script that
I created
and in the script is the host key that i
just copied so if i pasted my host key
now you'll see it's the same host that i
have over there and i put in the
protocol smtp the username the password
the server
and also the command to synchronize
locally so the command here
is remote local or both and i'm gonna
copy to my local directory which is this
directory right here and from the remote
directory which is this directory here
and so now just going to execute the
script now if you want more information
go to this site where you can also
download winscp
so I'm not gonna save that because i
didn't make any changes and you'll see
in my batch file here I simply have this
command to call the script and I pause
it for demonstration purposes I'm going
to run this script now and you'll see in
the background here
it will copy
these files locally
it's now logging in and you see it's
copying them
and that's really it that that's how you
quickly do synchronization between this
ftp server
local directory and thank you for
watching

Video Length: 02:31
Uploaded By: CodeCowboyOrg
Published: 9/6/2015
View Count: 178,108

Related Videos
SFTP - Windows Automate Script to Synchronize Uploading Files to Remote Directory using WinSCP
SFTP - Windows Automate Script to Synchronize Uploading Files to Remote Directory using WinSCP

Video Length: 02:53
Uploaded By: CodeCowboyOrg (9/26/2015)
View Count: 192,274

PHP file Upload and save in directory folder Bangla HD
PHP file Upload and save in directory folder Bangla HD

Video Length: 13:46
Uploaded By: SM sujan (8/20/2013)
View Count: 13,162

How To Read Nested Directory And Files In PHP
How To Read Nested Directory And Files In PHP

Video Length: 13:18
Uploaded By: Network Group (5/23/2014)
View Count: 5,144

php Link  Directory Script
php Link Directory Script

Video Length: 02:50
Uploaded By: phpuncle (4/18/2013)
View Count: 1,102

City Business Directory Script - PHP Review Software
City Business Directory Script - PHP Review Software

Video Length: 01:06
Uploaded By: Clayton Jennings (3/11/2014)
View Count: 331

Copyright © 2026, Ivertech. All rights reserved.