Subject: | |
From: | |
Reply To: | |
Date: | Thu, 14 Aug 2003 15:09:40 +0100 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Tim Cummings wrote:
>> Actually, there is a command called EXITONERROR.
> That is the problem. Exitonerror is not working on our new Nclass.
> Also, FTPLASTERROR is not reliable. When exitonerror was working (on
> our old 987) and we had time-outs, transfer errors etc. FTPLASTERROR
> would sometimes show 0 (no error). That is why we came up with the
> technique below.
> Here is my original post:
Tim, you've snipped what you are actually running :-(
What does it say when FTP launches?
On our brand spanking new N-Class, it says:
HPN/ACCOUNT(MGR)/PUB>ftp
File Transfer Protocol [A0012A03] (C) Hewlett-Packard Co. 2002 [PASSIVE
SUPPORT]
where 'ftp' is :
HPN/ACCOUNT(MGR)/PUB>help ftp
USER DEFINED COMMAND FILE: FTP.CMD.SYS
PARM DEST=""
FTP.ARPA.SYS "!DEST"
and ExitOnError works perfectly.
First without it; note that ftp prompts again after the error:
HPN/ACCOUNT(MGR)/PUB>ftp
File Transfer Protocol [A0012A03] (C) Hewlett-Packard Co. 2002 [PASSIVE
SUPPORT]
ftp> get carly
Not connected. (FTPERR 8)
ftp> exit
HPN/ACCOUNT(MGR)/PUB>
then with, and note that it exits on the error:
HPN/ACCOUNT(MGR)/PUB>ftp
File Transfer Protocol [A0012A03] (C) Hewlett-Packard Co. 2002 [PASSIVE
SUPPORT]
ftp> exitonerror
ExitOnError mode on. (FTPINFO 33)
ftp> get carly
Not connected. (FTPERR 8)
HPN/ACCOUNT(MGR)/PUB> showvar ftp@
FTPLASTERR = -8
FTPXFERFILES = 0
FTPREQFILES = 0
FTPREPLACE = TRUE
FTPLASTMSG = Not connected. (FTPERR 8)
HPN/ACCOUNT(MGR)/PUB>
So there may well be something wrong at your end, but it's certainly not a
gross error of ftp not working on the N-Class. And there's nothing we had to
change when upgrading from our old 937.
You talked of FTPLASTERROR. Was that a typo? As above, we get (reliably)
FTPLASTERR (not errOR).
And I wasn't sure about that FTP/XL line in your example.
Are you running ftp.arpa.sys? That's the only ftp program we've got on here,
though......
--
OE-QuoteFix 1.19.2 doing what it can to render the OExperience bearable.
Sig seps are fixed in the updated OE6, but they won't let me load it :-(
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|