Solved

SFTP Script

Posted on 2006-11-30
3
1,761 Views
Last Modified: 2012-08-13
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
Comment
Question by:matt_beatt
3 Comments
 
LVL 63

Expert Comment

by:SysExpert
ID: 18045378
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
 
LVL 38

Accepted Solution

by:
Shift-3 earned 500 total points
ID: 18045851
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
 
LVL 6

Author Comment

by:matt_beatt
ID: 18051247
Brilliant tool mate, took me less than 10 minutes to get it all sorted out

Thanks

Matt
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Migrate DHCP from server 2000 to 2008 1 639
HeapQueryInformation could not be located 1 923
P2V conversion for Windows NT 4.0 Server 2 2,315
Windows 2000 48-bit LBA 13 49
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
In previous parts of this Nano Server deployment series, we learned how to create, deploy and configure Nano Server as a Hyper-V host. In this part, we will look for a clustering option. We will create a Hyper-V cluster of 3 Nano Server host nodes w…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

685 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