-
We have a patch in our development box. I need to ftp that to our QA box. The patch is in the
form of a directory with several .drv and other files in it. How to ftp the whole directory.
When I tried to do it, here is what it said.
drwxrwxr-x 6 applmgr dba 8192 Mar 12 18:30 1485190
devbox:/dev1-02/u40/app/applmgr/11.0/patch> ftp qa1
220 qa2k-d3 FTP server (SunOS 5.6) ready.
Name (qa1:applmgr): applmgr
331 Password required for applmgr.
Password:
230 User applmgr logged in.
ftp> ascii
200 Type set to A.
ftp> cd /prod0-01/u40/app/applmgr/11.0/patch
250 CWD command successful.
ftp> put 1485190
1485190: not a plain file.
ftp> bye
221 Goodbye.
devbox:/dev1-02/u40/app/applmgr/11.0/patch> cd 1485190
devbox:/dev1-02/u40/app/applmgr/11.0/patch/1485190> ls -ltr
total 224
-rw-rw-r-- 1 applmgr dba 15382 Nov 8 21:20 d1485190.drv
-rw-rw-r-- 1 applmgr dba 74884 Nov 8 21:22 c1485190.drv
-rw-rw-r-- 1 applmgr dba 2054 Nov 8 21:22 g1485190.drv
-rw-rw-r-- 1 applmgr dba 3343 Nov 9 14:32 readme.txt
drwxrwxr-- 3 applmgr dba 96 Mar 12 18:30 fnd
drwxrwxr-- 3 applmgr dba 96 Mar 12 18:30 fa
drwxrwxr-- 3 applmgr dba 96 Mar 12 18:30 jg
drwxrwxr-- 6 applmgr dba 96 Mar 12 18:30 gl
devbox:/dev1-02/u40/app/applmgr/11.0/patch/1485190>
-
Suggestion:
1. create directories on the target machine
2. use the command: mput *.* (puts all files in the target dir.)
3. use cd and lcd commands to point to sub-dir. and repeat step 2.
-
whole directory ...
i use something like this in my command file:
open shamrock
oracle
*password*
ascii
cd /u04/oradata/AP01/exports/asi_stats
lcd d:\Web_Stats
mget *
quit
mget * is how I retrieve everything in the directory specified.
- Magnus
-
suggestion #2:
cd /dev1-02/u40/app/applmgr/11.0/patch/1485190
tar -cvf patch.tar *
ftp -in qa1
ftp> user applmgr applmgrpasswd
ftp> cd /prod0-01/u40/app/applmgr/11.0/patch
ftp> bin
ftp> put patch.tar
ftp> quit
rlogin qa1
cd /prod0-01/u40/app/applmgr/11.0/patch
tar -xvf patch.tar
Jeff Hunter
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|