Operating System - OpenVMS
1753774 Members
7107 Online
108799 Solutions
New Discussion юеВ

dir /ftp fails using tcpware ftp client

 
SOLVED
Go to solution
hf.yao
Occasional Advisor

dir /ftp fails using tcpware ftp client

HI
I have a remote VMS servar running FTP service.
No i have two VMS client machine.
Client A is installed TCPIP prod, command -
DIR /FTP REMOTESERVER"USER PASS"::
can be called succesfully.

But on Client B is installed TCPWARE V5.6-2
if run the same dir /ftp command, it got -
%TCPWARE_FTP-E-NOHOSTIVVERB, unknown host name or command verb - check validity and spelling
surely using FTP REMOTESERVER is successful.

So is there any integrating problem with DIR/FTP for tcpware? how to solve?
Thanks a lot
9 REPLIES 9
Shriniketan Bhagwat
Trusted Contributor

Re: dir /ftp fails using tcpware ftp client

Hi,

The online help for the message NOHOSTIVVERB says incorrect host name. Please verify the host name.

%TCPWARE_FTP-E-NOHOSTIVVERB, unknown host name or command verb -
check validity and spelling

Component: FTP-OpenVMS

Meaning: The hostname was entered incorrectly at the FTP host
prompt.

Action: Reenter the correct host name

Regards,
Ketan
Shriniketan Bhagwat
Trusted Contributor

Re: dir /ftp fails using tcpware ftp client

Hi,

Are you able to FTP to the remote node using below command?

$ FTP REMOTESERVER /USERNAME=USER /PASSWORD=PASS

Regards,
Ketan
Shriniketan Bhagwat
Trusted Contributor

Re: dir /ftp fails using tcpware ftp client

Hi,

Are the below logicals defined in the machine?

OPENVMS$FTP,
OPENVMS$FTPDEL,
OPENVMS$FTPDIR

Regards,
Ketan
hf.yao
Occasional Advisor

Re: dir /ftp fails using tcpware ftp client

ooh
I tried FTP REMOTESERVER /USER=XX /PASS=XX
It failed with %TCPWARE_FTP-E-NOHOSTIVVERB, unknown host name or command verb - check validity and spelling

it succeeded if only FTP REMOTESERVER, then input username and password after FTP> prompt.

I think Tcpware FTP doesn't allow the syntax of /user /pass.

does that mean Dir /ftp can't use tcpware?
hf.yao
Occasional Advisor

Re: dir /ftp fails using tcpware ftp client

Hi Ketan
>show log *ftp*
"DECW_FTP_UID" = "TCPWARE:DECW_FTP.UID"
"OPENVMS$FTP" = "TCPWARE:FTP.EXE"
"OPENVMS$FTPDIR" = "TCPWARE:FTP.EXE"
"TCPWARE_FTPD_MBX" = "MBA37:"
Shriniketan Bhagwat
Trusted Contributor
Solution

Re: dir /ftp fails using tcpware ftp client

Hi,

>> I tried FTP REMOTESERVER /USER=XX /PASS=XX
>> It failed with %TCPWARE_FTP-E-NOHOSTIVVERB,

That├в s why may be the DIR/FTP is failing.
In this case COPY/FTP should also fail.

Regards,
Ketan
The Brit
Honored Contributor

Re: dir /ftp fails using tcpware ftp client

you are correct. The syntax for using FTP on TCPWARE, and TCPIP Services with Username/Password, is different.

with TCPIP Services,

$ Dir/FTP "Username Passwrd"::

or to use FTP in a script,

$ ftp /User= /Pass=

with TCPWARE,

With the Dir & Copy commands, the "/FTP" qualifier will not work.

To use TCPWARE in a script,

$ FTP

Note: Passwords may have to be enclosed with double quotes if they contain lower-case characters or spaces, etc.

Dave.



Richard Whalen
Honored Contributor

Re: dir /ftp fails using tcpware ftp client

Though TCPware V5.6-2 may not parse node"user password":: correctly, TCPware V5.8-2 does. (The current version of TCPware is V5.9-2)
hf.yao
Occasional Advisor

Re: dir /ftp fails using tcpware ftp client

thanks all