This is in Sun Solaris 9.0 and RHEL 5.0..Need a script and batch script

Posted on 2011-10-16
Last Modified: 2012-05-12
I have a file in C: Drive on my local PC..I need a batch script to open a cmd prompt..and then ftp a unix server and then put in the login credentials and then cd to the directory /informatica/data

and then lcd back to my C:drive and then put the file load.ctl...Since this is a daily job I just wanted to automate it instead of copying through Winscp..
Question by:aixtutorial

    Accepted Solution

    please provide a batch script that could do all this for me once clikc on the .bat file
    LVL 4

    Expert Comment

    My 2 cents :)

    add a cron job to email *nix server file to you. It will be lot simpler and secure - since you wont have to specify clear password in script file (Which may be a issue if multiple admins/users share this computer)

    Author Closing Comment

    found the answer

    Author Comment


    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
    If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
    As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
    This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

    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

    22 Experts available now in Live!

    Get 1:1 Help Now