Subject: | |
From: | |
Reply To: | |
Date: | Fri, 9 Apr 2004 15:10:16 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hello Steve,
> Can anyone help me? I'm trying to figure out from a job stream that
FTP's
> something to a server whether or not the FTP completed successfully.
FTP
> doesn't seem to set any JCW's or Variables accessible from the MPE/iX
> system. or does it? I know I could probably write the output to a
file and
> then read the file, but is there an easier way?
Here is a sample of terminating a FTP with "exitonerror" and also shows
you
what FTP variables are set.
/SYS/WORK: ftp ector
File Transfer Protocol [A0012E08] (C) Hewlett-Packard Co. 2002 [PASSIVE
SUPPORT]
220 HP ARPA FTP Server [A0012D07] (C) Hewlett-Packard Co. 2000 [PASV
SUPPORT]
Connected to ector (15.113.9.93). (FTPINFO 40)
Name(manager): manager/pass.sys/pass230 User logged on
Remote system type is MPE/iX
200 TIMEOUT command ok.
ftp> exitonerror
ExitOnError mode on. (FTPINFO 33)
ftp> put nofile
NONEXISTENT PERMANENT FILE (FSERR 52)
221 Server is closing command connection
/SYS/WORK: showvar @ftp@
FTPLASTERR = -13
FTPXFERFILES = 0
FTPREQFILES = 1
FTPREPLACE = TRUE
FTPLASTREPLY = 221 Server is closing command connection
FTPLASTMSG = Data Transfer Request Failed. (FTPERR 13)
Note: Repairs for "exitonerror" and ftp variables set have been made in
recent patches.
Please install the current FTP General Release patches available on the
HP-ITRC for
download.
FTPHD68 for C.75.00
FTPHD47 for C.70.00
FTPHD46 for C.65.00
Regards,
James Hofmeister
Email: <first>.<last>@hp.com
Hewlett Packard - Global Solutions Engineering (WTEC)
P.S. My Ideals are my own, not necessarily my employers.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|