Solved

SFTP on windows server 2008 R2

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Undo a Print Server Setup 5 73
How to reduce VM disk capacity without losing OS data ? 10 85
Hyper V cluster 2 31
Export all user attributes in Active Directory 2008 R2 4 44
Secure Shell (SSH) is a network protocol for secure data communication, mainly used to administer remote Unix / Linux servers via command line. But it also allows the user to open a secure tunnel between a client and a server where he can send any k…
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 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 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…

912 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

16 Experts available now in Live!

Get 1:1 Help Now