[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


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

Posted on 2011-10-16
Medium Priority
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
  • 3

Accepted Solution

aixtutorial earned 0 total points
ID: 36976604
please provide a batch script that could do all this for me once clikc on the .bat file

Expert Comment

ID: 36977826
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

ID: 37098991
found the answer

Author Comment

ID: 37081151

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

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

By default Outlook 2016 displays only one time zone in the Calendar. The following article explains how to display two time zones in one calendar view.
Unable to change the program that handles the scan event from a network attached Canon/Brother printer/scanner. This means you'll always have to choose which program handles this action, e.g. ControlCenter4 (in the case of a Brother).
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Suggested Courses
Course of the Month20 days, 2 hours left to enroll

872 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