• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1776
  • Last Modified:

SFTP Script

I have a number of scripts that FTP files to a 3rd party, using wput.  Trouble is that my client has now asked that i change this to be SFTP - i have been supplied a user name and password and a private key - not sure how to script this tho - can i still use wput - if so what would the syntax be?

Thanks
0
matt_beatt
Asked:
matt_beatt
1 Solution
 
SysExpertCommented:
You can probably use a similar script, but you will  nees an SFTP client ( secure FTP ).
Check for a free GPL version, sourceforge may have some.

I hope this helps !
0
 
Shift-3Commented:
I've heard WinSCP is a good utility for this.
http://sourceforge.net/projects/winscp/

Information on scripting connections is here:
http://winscp.net/eng/docs/scripting
0
 
matt_beattAuthor Commented:
Brilliant tool mate, took me less than 10 minutes to get it all sorted out

Thanks

Matt
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now