Operating System - OpenVMS
1753555 Members
5356 Online
108795 Solutions
New Discussion юеВ

Re: Using FTP from a detached process.

 
SOLVED
Go to solution
Steven Schweda
Honored Contributor

Re: Using FTP from a detached process.

> As a reminder, I am running TCPWARE 5.7,
> not TCPIP Services (sad to say!).

As a reminder, someone said:

> (Although I got the same error on a node
> running TCPIP Services V5.4).

As a TCPIP user, it's hard to imagine why
you'd be sad to say that you're not using it.

It sure does sound as if there's some
difference in the symbols or command tables
in the different environments. Perhaps you
could throw in a VERB command as well as a
SHOW SYMBOL F*. It sure looks as if you're
getting the TCPIP syntax checking instead of
whetever TCPware does.

> I think a point is being missed here, [...]

No, I think that I got that point.

Is there some TCPware-specific magic in a
[SY]LOGIN.COM which gets used in one case but
not the other?
Walter Miller_1
Valued Contributor
Solution

Re: Using FTP from a detached process.

The following works in TCPware V5.3-2 running as a detached process.

$ ftp
open
cd out
dir
mget *.*
dir
bye
$ exit


Walter
The Brit
Honored Contributor

Re: Using FTP from a detached process.

I also forgot to mention that the TCPIP Services node give the error message under ALL modes, INTERACTIVE, BATCH, or DETACHed.

> As a TCPIP user, it's hard to imagine why
>you'd be sad to say that you're not using >it.

I'm not sure what you mean by this. I personally mean that I would rather use TCPIP Services. TCPWare "HELP" leaves something to be desired.

As for the possible differences between TCPWare and other stacks, it runs a completely different FTP image than TCPIP Services.

Dave.

Daniel Fernandez Illan
Trusted Contributor

Re: Using FTP from a detached process.

Dave
Are you check to run detached process using /AUTHORIZE qualifier. By default run command use /NOAUTHORIZE and detached process runs under the control of command interpreter.
With /AUTHO and LOGINOUT.EXE searches the UAF to validate the process.

Saludos.
Daniel.
Martin Vorlaender
Honored Contributor

Re: Using FTP from a detached process.

Dave,

in TCPware, the FTP client always is called by a symbol:

$ sho symbol ftp
FTP == "$TCPWARE:FTP"
$ netcu show version
TCPware(R) V5.6-2 Copyright (c) 2002 Process Software

OpenVMS version V7.3-2 booted on 4-APR-2008 10:47:18.00,
running on a AlphaServer 4000 5/300 2MB.
$

usually defined by calling TCPWARE:TCPWARE_COMMANDS.COM from (SY)LOGIN.COM.

This definition is missing, of course, when running detached. Then the TCP/IP Services verb FTP from DCLtables is used, giving the "%DCL-W-NUMBER" error because of different syntax.

That'd be my explanation.

cu,
Martin
The Brit
Honored Contributor

Re: Using FTP from a detached process.

As predicted, the solution is too embarassing to discus in detail, and the solution was included in Jim McKinney's first response.

I leave it to anyone interest to determine the solution (by comparing Jim's post, and my response - The answer is right there)

Having said that, thank you all for the discussion, always a learning experience no matter what.

Dave.

(Hint: "/detach")