Solved

SFTP on windows server 2008 R2

Posted on 2015-01-09
3
398 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
  • 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
performance tune IIS 10 on win 2016 that only runs one website 4 66
Remove Extension 3 38
IIS 8.5 WebDav Shared Handler Mappings 6 31
powershell script 9 26
A procedure for exporting installed hotfix details of remote computers using powershell
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

832 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