How to configure sftp job in control-M

Posted on 2012-08-22
Last Modified: 2012-09-09
This is using BMC Control-M. My management has some sftp jobs that need to schedule to run in the fixed interval. Can I schedule to run these job in the control-M? I understand that sftp username/password are needed, but, is there a way to "hide" these credentials? Btw, can show some samples in step-by-step?

Thanks in advance.
Question by:MezzutOzil
    LVL 16

    Accepted Solution

    If you used Robo-FTP to do the SFTP job you could save the login credentials in a "Managed Site" record.  This would encrypt the password and store it in the registry.  Your SFTP script would only have the Managed Site name.  You could launch it with Control-M as a Windows Scheduled Task or you could even configure it to run as a windows service that sleeps all day and only awakens at fixed intervals.

    Author Comment

    Hi AlexPace,

    Instead of using Robo-Ftp - this 3rd-party utility, any alternative method? This is because extra cost involved in purchasing the software is beyond the budget, management may not approve.
    LVL 16

    Expert Comment

    There is no SFTP functionality built into Windows.  The $150 cost of a Robo-FPT license should not be a major issue, especially since that includes a year of free upgrades and support.  BMC Control-M is not exactly shareware if you know what I mean.  An hour of your time as a software developer will cost your management more than a Robo-FTP license.  It has a 30day free trial download so you can see if it works before spending any money.

    There is a shareware program named WinSCP that does SFTP and has some very basic scripting ability. WinSCP scripting is weak compared to Robo-FTP but it may work for your needs.  Try it and see.  If you end up needing support though you'd be better off with the commercial product.

    Author Closing Comment


    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    This article will show, step by step, how to integrate R code into a R Sweave document
    Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

    734 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

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now