Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do I get AutoSys to execute an FTP job from a UNIX server to a Win2k server?

Posted on 2004-08-03
10
Medium Priority
?
2,009 Views
Last Modified: 2011-09-20
I am trying to get AutoSys to execute an FTP job on a UNIX server to a Win2K server but it appears that AutoSys can not log into the Win2K server. I am able to FTP into the Win2K server from other machines using the same ID. Is there something special that needs to be done to get AutoSys to execute an FTP job?
0
Comment
Question by:dk02151
  • 3
  • 2
  • 2
  • +2
10 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 11709534
which UNIX are you using?
Please post the script (or whatever) how you try to connect with ftp
0
 
LVL 62

Expert Comment

by:gheist
ID: 11715445
Yes - you need another ftp server, since IIS bundled one does not close data connections after transfer....
0
 

Author Comment

by:dk02151
ID: 11716395
We are using HP UNIX. I will get the script from the UNIX developer.

As to the use of IIS we have not had any problems with ftp jobs to our Win2K servers in the past.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 51

Expert Comment

by:ahoffmann
ID: 11716489
ok, you either need a scriptable ftp client (like ncftp), or a passwordless ftp account on the server, or an expect script
on which platform is AutoSys? is it your user on the ftp server?
0
 
LVL 62

Expert Comment

by:gheist
ID: 11719960
AutoSys is a robot software that does everything operators ever did(or cron). problem is that it uses own ftp engine to transfer files. Please listen to ahoffman and use some command to transfer files instead (or patch AutoSys).
0
 

Author Comment

by:dk02151
ID: 11720198
Here is the FTP script.

cd @WorkDownloads
ascii
lcd /compass/intg_fn3a/conservation
put CompassConsReg.txt
bye
0
 

Author Comment

by:dk02151
ID: 11720229
Oops. I dropped the first line. Let me try it again.

user develop weTm!;A
cd @WorkDownloads
ascii
lcd /compass/intg_fn3a/conservation
put CompassConsReg.txt
bye
0
 
LVL 1

Expert Comment

by:kmckinstry
ID: 11753156
Not sure what you want to do, but is it something like backing up files?  Is it through the Internet or on a local machine?

Here is a script that will send files to a W2K by creating a mount.  It loads shlight, sends the files, then unloads shlight.

With a few modifications, you could make it send the files via the Internet through ftp, but you should probably encrypt the data through ssh.

#!/bin/sh
# ~kdm
# place the list of back up files in FilesToBU located in
LIST_OF_FILES=/tmp/FilesToBU

# and copied to:
LOCATION=/mnt

SHARE="//computer/directory"
U=administrator
P=password

/usr/local/sbin/shlight $SHARE $LOCATION -U $U -P $P

if [ "$?" -eq 1 ] ; then
  echo "Couldn't mount remote share for backups"
  exit 1
fi

echo Mounted remote share $SHARE

cat $LIST_OF_FILES | \
 while read fn rest ; do \
   if [ "$fn" = "#" ] ; \
     then echo comment $rest ; \
     else if [ "$fn" != "" ] ; then \
       if [ -e "$fn" ] ; then \
         FULLNAME=$LOCATION`dirname \`echo $fn\`` ; \
         echo Copying $fn to $FULLNAME ; \
         mkdir -p $FULLNAME ; \
         cp -RL $fn $FULLNAME/ ; \
       fi ; \
     fi ; \
   fi ; \
 done

echo Unmounting remote share $SHARE
/usr/local/sbin/unshlight $LOCATION
0
 

Accepted Solution

by:
CetusMOD earned 0 total points
ID: 11984425
PAQed, with points refunded (500)

CetusMOD
Community Support Moderator
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying 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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month12 days, 5 hours left to enroll

916 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