Hi,
I am attempting to use ftp to copy spool files. Below is a test and the
results.
The file copies ok, but I cannot then use Spoolf a.b.c;print, as you see
from the results.
I have tried as many options as I can think of in the command, e.g. cctl
etc, but I cannot seem to
get the results I want.
Anyone any ideas
Thanks
Pete
Output from test--------------->
:file a;dev=lp,1,1
:listf @.@,2>*a
:ftp hpserver
File Transfer Protocol [A0008T34] (C) Hewlett-Packard Co. 1990
220 HP ARPA FTP Server [A0008T31] (C) Hewlett-Packard Co. 1990
Name(mgr): mgr.minisoft
230 User logged on
Remote system type is MPE/iX.
ftp> :showout
DEV/CL DFID JOBNUM FNAME STATE FRM SPACE RANK PRI #C
LP #O1186251 #S7584 A READY 48 D 1 1
63 #O63 #S7584 $STDLIST OPENED
2 FILES:
0 ACTIVE
1 READY; INCLUDING 1 SPOOFLES, 1 DEFERRED
1 OPENED; INCLUDING 0 SPOOFLES
0 LOCKED; INCLUDING 0 SPOOFLES
1 SPOOFLES: 48 SECTORS
OUTFENCE = 1
put o1186251.out.hpspool savesp;rec=-1008,1,v,ascii;code=outsp;spool
200 PORT command ok.
150 File: savesp;REC=-1008,1,V,ASCII;CODE=OUTSP;SPOOL;DISC=147,8 opened;
data connection will be opened
226 Transfer complete.
10102 bytes sent in 0.00 seconds (9865.23 Kbytes/sec)
ftp> :listf save@,2cv
ACCOUNT= MINISOFT GROUP= MM
FILENAME CODE ------------LOGICAL RECORD----------- ----SPACE----
SIZE TYP EOF LIMIT R/B SECTORS #X MX
SAVESP 128W VB 147 204800 1 48 1 8
ftp> put o1186251.out.hpspool savesp;rec=-1008,1,v,ascii;cctl;code=outsp
200 PORT command ok.
150 File: savesp;REC=-1008,1,V,ASCII;CCTL;CODE=OUTSP;DISC=147,8 opened;
data con
nection will be opened
226 Transfer complete.
10102 bytes sent in 0.00 seconds (4932.62 Kbytes/sec)
ftp> :listf save@,2
ACCOUNT= MINISOFT GROUP= MM
FILENAME CODE ------------LOGICAL RECORD----------- ----SPACE----
SIZE TYP EOF LIMIT R/B SECTORS #X MX
SAVESP OUTSP 1010B VA 147 147 1 48 1 8
ftp> quit
221 Server is closing command connection
:spoolf savesp.mm.minisoft;print
File "SAVESP.." is not outsp file type, not printed. (CIWARN 4694)
^
No qualified file for SPOOLF ;PRINT. (CIWARN 4808)
:
USER: #S7584,MGR.MINISOFT,MM (NOT IN BREAK)
RELEASE: C.55.00 MPE/iX HP31900 C.05.08 USER VERSION: C.55.00
CURRENT: WED, SEP 29, 1999, 4:23 PM
LOGON: WED, SEP 29, 1999, 3:15 PM
CPU SECONDS: 12 CONNECT MINUTES: 68
$STDIN LDEV: 63 $STDLIST LDEV: 63
:
--
Pete Vickers
Phone: (44) 1204 657497
Fax: (44) 1204 450927
Mobile: (44) 860 907493
www.petevick.demon.co.uk
|