Solved

script to Get 2 text files from remote server

Posted on 2014-07-26
5
204 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 500 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

Welcome, welcome!  If you are new to the series and haven't been following along, please take a brief moment to review the first three installments: Part 1 (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/A_266-VBScri…
Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

707 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