Unix to pc, best to use ftp.  I always run from pc, i.e. no need to run ftp server on 
pc.  You could always run samba on your unix server.  If its only a few dirs I use the 
following 2 files.  Run the ftpbackup.bat file.

1) ftpbackup.bat
—-------------------- cut here —----------------------------------
c:
cd \gene\oracle\home
ftp -i -n -s:ftpbackup.txt  somehostname
—-------------------- cut here —----------------------------------


2) ftpbackup.txt
—-------------------- cut here —----------------------------------
user oracle oraclepasswd
ascii
lcd \gene\oracle\home\local
cd  /oracle/home/local
get .forward
get .profile
get .rhosts
lcd \gene\oracle\home\local\bin
cd  /oracle/home/local/bin
mget *.ksh
mget *.sql
lcd \gene\oracle\home\local\cfg
cd  /oracle/home/local/cfg
mget *.dat
mget *.dis
mget *.sql
mget *.ora
lcd \gene\oracle\home\local\sql
cd  /oracle/home/local/sql
mget *.sql
lcd \gene\oracle\home\local\utl
cd  /oracle/home/local/utl
mget *.ksh
—-------------------- cut here —----------------------------------

hth,
Gene

>>> [EMAIL PROTECTED] 02/15/02 06:53AM >>>
Hallo,

Anyone who has a good example on a unix script, which does the following:

Copies files from a unix directory. to the  hard drive, for instance from the 
directory /konto/test
to the hard drive C:\temp

Would appreciate this if you could help me with this.


Thanks in advance

Roland

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com 
-- 
Author: 
  INET: [EMAIL PROTECTED] 

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Gene Sais
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to