Solved

SFTP on windows server 2008 R2

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

OfficeMate Freezes on login or does not load after login credentials are input.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now