?
Solved

script to Get 2 text files from remote server

Posted on 2014-07-26
5
Medium Priority
?
208 Views
Last Modified: 2014-08-06
Hi,

We have 2 txt files in the remote server, which we need to download to our local server folder.
 We couldn't use the FTP task on SSIS, since this is a Secured FTP.
I'm looking for a script to run in SSIS 2009, so that i can
1. Get those files from the remote server
2. Delete those two files on the remote server

Can someone help with the script?
0
Comment
Question by:pvsbandi
[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
  • 2
  • 2
5 Comments
 
LVL 32

Expert Comment

by:Robberbaron (robr)
ID: 40222395
are you able to installed the ftp client part of putty ?
this can be scripted but sftp needs a 3rd party app ...
0
 

Author Comment

by:pvsbandi
ID: 40222927
We have got filezilla.. Is it possible to script based on that?
0
 
LVL 32

Accepted Solution

by:
Robberbaron (robr) earned 2000 total points
ID: 40223616
no filezilla is a GUI based app.. (and a good one !)

with psftp you can start the application with an input file of commands.
http://www.putty.org/   or http://the.earth.li/~sgtatham/putty/0.53b/htmldoc/Chapter6.html

also see http://winscp.net/eng/docs/scripting  which i have used before.
0
 

Author Closing Comment

by:pvsbandi
ID: 40243593
Thanks! We used Winscp
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

Recently I finished a vbscript that I thought I'd share.  It uses a text file with a list of server names to loop through and get various status reports, then writes them all into an Excel file.  Originally it was put together for our Altiris server…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

762 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