Windows – How to i pull a file using SFTP in windows

sftpwindows

Can any one suggest me how to start working in SFTP?(Any books/web sites)

I have to create a batch program to pull a file from a url using SFTP in windows.

I have no idea about SFTP.

A batch program which pulls the file from a url using FTP is already existing.

PLease find below for the commands used in the above existing batch program.

set PgpID=gecorpcard
set FtpID=ftp.corpcard.com
set FtpUser=xxxxxxx
set FtpPswd=xxxxxxx
set FtpMethod=binary
set FtpGetUser=xxxxxxx
set FtpGetUserPswd=xxxxxxx
set PgpKeyID=0x29A6A1F6 

Here the server name is psftppgp201.It means the file has to be uploaded into the server from the third party url.

Best Answer

Look at the Putty package, i am pretty sure there is a CLI sftp included in it that can be scripted.