[SunHELP] ftp problem

Giura Paul paulgiura at yahoo.com
Wed Feb 27 08:29:35 CST 2002


Hi,

I have the following script in Solaris 8 KSH:
When I start it work but when I start it from cron
demon this script is block in ftp sentence

................................
sqlplus system/mmmmm at cccccc<<!
truncate table tab1;
select count(*) from tab1;
quit
!
printf '\nstart ftp'
cd /usr/oracle/dat

ftp -ni xx.xx.xx.xx <<!
user xxxx yyyyy
cd $x
ascii
get dat.txt dat1.txt
close
bye

!
sqlldr USERID=SYSTEM/Mmmmmmmmmm at cccccccc
control=dat.ctl<<!
printf '\nstop'
date '+DATE-stop: %m/%d/%y%nTIME:%H:%M:%S'
................................................

Thanks for any info.
Paul
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com



More information about the SunHELP mailing list