Linux Operating System (MOSC)

MOSC Banner

How to use $XXDB_TOP in ftp

edited Oct 22, 2012 1:59AM in Linux Operating System (MOSC) 2 commentsAnswered
Hi ,


Can you please help me to know, how can i use  $XXDB_TOP in place of using full path like (/prdfin/app/prdappl/xxdb/11.5.0/bin) in ftp command.


I am using below command to get the data from other server to our local server

ftp -n 19.61.190.193  <<EOF
passive
quote USER XXXXXXX
quote PASS XXXXXXX
ascii
lcd /prdfin/app/prdappl/xxdb/11.5.0/bin      
get xxdb_ar_i101_nsf_receipt_upload.csv
bye
EOF


But i want to use $XXDB_TOP/bin in place of /prdfin/app/prdappl/xxdb/11.5.0/bin.

Is it possible or not.
If yes, then how.


Thanks


Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center