Solved

Automate SFTP file download in Windows

Posted on 2016-10-17
5
27 Views
Last Modified: 2016-11-22
I am looking for achieve the following;
 
  1. Login and connect to a sftp site without password prompt
  2. Downloads all files located in; /test/in and /prod/in
  3. Save all downloaded files to: C:\temp
  4. Removes the files located in; /test/in and /prod/in
 
Please do not provide me with links. I am hoping someone can help write the necessary script to these values.
0
Comment
Question by:the_omnific
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 56

Accepted Solution

by:
Julian Hansen earned 500 total points
ID: 41846436
How about WinSCP

Download here
https://winscp.net/eng/download.php

WikiPedia page
https://en.wikipedia.org/wiki/WinSCP

Features (from the WikiPedia Page)

A remote edit window
Graphical user interface
Translated into several languages
Integration with Windows (Drag-and-drop, URL, shortcut icons)
All common operations with files
Support for SFTP and SCP protocols over SSH-1 and SSH-2, FTP protocol and WebDAV protocol.[8]
Batch file scripting, command-line interface and .NET wrapper
Directory synchronization in several semi or fully automatic ways
Integrated text editor
Support for SSH password, keyboard-interactive, public key and Kerberos (GSS) authentication
Integrates with Pageant (PuTTY authentication agent) for full support of public key authentication with SSH
Choice of Windows Explorer–like or Norton Commander–like interfaces
Optionally stores session information
Optionally import session information from PuTTY sessions in the registry
Able to upload files and retain associated original date/timestamps, unlike FTP clients
0
 
LVL 1

Author Comment

by:the_omnific
ID: 41846445
Can you help me detail each step involved?
0
 
LVL 56

Expert Comment

by:Julian Hansen
ID: 41846540
First take a read of this page and post back with any specific questions you might have

https://winscp.net/eng/docs/guide_automation
0
 
LVL 56

Expert Comment

by:Julian Hansen
ID: 41846543
This expert suggested creating a Gigs project.
Please do not provide me with links. I am hoping someone can help write the necessary script to these values.

Might I suggest that you open a GiG for this. It appears you want someone to write the solution for you.
0
 
LVL 15

Expert Comment

by:Jason Crawford
ID: 41897209
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: Julian Hansen (https:#a41846436)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

exchangepro
Experts-Exchange Cleanup Volunteer
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

"Migrate" an SMTP relay receive connector to a new server using info from an old server.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…

740 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