Solved

SFTP on windows server 2008 R2

Posted on 2015-01-09
3
434 Views
Last Modified: 2015-01-12
Hi,
I need to use a script on a Windows 2008 server to connect to an sftp site to pull down a file. The site I'm pulling from just switched to sftp from regular ftp. I was using a perl script to pull the file down.
I can use pretty much any scripting language though. I'd just like to get this done quickly.

So, the thing is I need to create an automated way to SFTP a file from a remote server to my 2008 server.
I know 2008 doesn't natively support SFTP. Can someone suggest a good solution for this problem please?
Thanks!
0
Comment
Question by:nachtmsk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
3 Comments
 
LVL 20

Accepted Solution

by:
netcmh earned 500 total points
ID: 40540263
http://winscp.net/eng/index.php

You can install it on your server and schedule the downloads.
0
 
LVL 20

Expert Comment

by:netcmh
ID: 40540269
You can script something like this together with winscp:

"C:\Program Files (x86)\WinSCP\WinSCP.com" /script="c:\<pathtofile>\testscript.txt" /ini="C:\Program Files (x86)\WinSCP\WinSCP.ini" /log="c:\<pathtofile>\logscript.txt"

where <pathtofile> is the actual path to the file.
0
 
LVL 20

Expert Comment

by:netcmh
ID: 40544207
Thanks for the grade. Good luck.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question