Hello Alan,
Re: Problem doing mget
There are two things in the situation you have quoted.
1. Since the file names are not valid MPE file names, you can
transfer them, only as POSIX files. In this case, you need
to modify the mget commands as follows :
ftp> mget ./*
(Donna's method is rather roundabout)
This will result in all files being retrieved as POSIX files
with the same name as in the source machine.
2. The above will not retrieve files with ";1". This is
because, FTP on MPE, interprets anything following a ";"
as build parameter. As you know, you can specify a build
parameter when you do a get/put in MPE system.
I can't think of a workaround for these files, short of
renaming them, without the ";" part.
Hope this helps.
Donna Garverick wrote:
>
> Alan AMBERS wrote:
>
> > If I try to pull it from the unix box (HP-UX 10.20), I get stuff like:
> >
> > ftp> lcd htdocs/hpworld
> > CWD is "/APACHE/PUB/htdocs/hpworld".
> > Local directory is now "/APACHE/PUB/htdocs/hpworld".
> > ftp> dir
> > 150 Opening ASCII mode data connection for /usr/bin/ls.
> > total 460
> > dr-xr-xr-x 1 4294967295 4294967295 2048 Jul 22 05:56 1000
> > dr-xr-xr-x 1 4294967295 4294967295 2048 Jul 22 05:56 2000
> > dr-xr-xr-x 1 4294967295 4294967295 2048 Jul 22 05:56 3000
> > dr-xr-xr-x 1 4294967295 4294967295 2048 Jul 22 05:56 4000
> > dr-xr-xr-x 1 4294967295 4294967295 2048 Jul 22 05:56 5000
> > dr-xr-xr-x 1 4294967295 4294967295 2048 Jul 22 05:56 6000
> > -r-xr-xr-x 1 4294967295 4294967295 70207 Jul 21 10:08 AUTHOR.HTM;1
> > dr-xr-xr-x 1 4294967295 4294967295 2048 Jul 22 05:56 BRADMARK
> > -r-xr-xr-x 1 4294967295 4294967295 3998 Jul 21 17:23 HOME.HTM;1
> > -r-xr-xr-x 1 4294967295 4294967295 990 Jul 21 10:11 HPW99.HTM;1
> > -r-xr-xr-x 1 4294967295 4294967295 4968 Jul 21 10:11 MAIL.HTM;1
> > dr-xr-xr-x 1 4294967295 4294967295 4096 Jul 22 05:56 NFILES
> > dr-xr-xr-x 1 4294967295 4294967295 2048 Jul 22 05:57 PICS
> > -r-xr-xr-x 1 4294967295 4294967295 60807 Jul 21 10:11 TITLE.HTM;1
> > -r-xr-xr-x 1 4294967295 4294967295 68524 Jul 21 10:11 TRACK.HTM;1
> > 1018 bytes received in 0.02 seconds (62.13 Kbytes/sec)
> > ftp> binary
> > 200 Type set to I.
> > ftp> mget *
> > 150 Opening ASCII mode data connection for file list.
> > 834 bytes received in 0.03 seconds (32.58 Kbytes/sec)
> > NONEXISTENT GROUP (FSERR 51)
> > Data Transfer Request Failed. (FTPERR 13)
> > NONEXISTENT GROUP (FSERR 51)
> > NONEXISTENT GROUP (FSERR 51)
> > Data Transfer Request Failed. (FTPERR 13)
> > NONEXISTENT GROUP (FSERR 51)
> > NONEXISTENT GROUP (FSERR 51)
> > Data Transfer Request Failed. (FTPERR 13)
> > NONEXISTENT GROUP (FSERR 51)
>
> i believe, too, that the ';1' is causing some of the trouble...but what i've
> run into is mget wants to put these files into mpe name space. so the files
> that end '.htm' look to ftp like a group name and so you get the nonexistent
> group error messages. how i've solved the problem (with help from several
> list members -- thanks!) is to run ftp twice. the first time use ftp to get
> a directory listing. massage the directory listing file to make each file
> into an individual ftp get. for example 'get TRACK.HTM ./track.htm' <-- be
> sure to use './' for the 'to' file's name, that'll clue in ftp :-) you'll
> also be adding ftp open, user, cd (if need) and exit commands to the
> directory listing file. this file *now* serves as a stdin file to ftp
> (something like 'ftp < ftpin'). imo, mget can be really tricky to use when
> bringing files back from a 'foreign' computer system.
> hth - d
>
> --
> Donna Garverick Sr. System Programmer
> 925-210-6631 [log in to unmask]
>
> >>>MY opinions, not Longs Drug Stores'<<<
--
Best regards,
Raghu
Raghuram B.
CSY R & D, Bangalore, INDIA
My opinions are my own, not HP's
|