Operating System - OpenVMS
1751957 Members
5113 Online
108783 Solutions
New Discussion юеВ

Re: DIR/FTP command between OpenVMS 7.2-1 and Windows IIS

 
John T. Farmer
Regular Advisor

DIR/FTP command between OpenVMS 7.2-1 and Windows IIS

Does the dir/ftp command as outline in the doc, work between VMS and Windows IIS? I can manually connect from VMS to Windows IIS with the VMS ftp command, but can't get the dir/ftp command to work properly. I simply wanted to get a directory list of the ftp folder.

Using the dir/ftp command (no line wrap)

dir/ftp 192.168.0.44"mydomain/myuser mypwd"::myftpfolder

Returns the error

%TCPIP-E-FTP_HSTINF, cannot get host information for 192.168.0.44 from database
-TCPIP-E-NO_RECOVERY, unexpected name server failure

I appreciate help in determining, if I have the necessary components installed. Again, I've been away from VMS for a while, and trying to get the rust knocked off and some of the manual processes automated.

Thanks,

John

john dot farmer at genworth dot com

"Compaq TCP/IP Services for OpenVMS Alpha Version V5.1 on a COMPAQ AlphaServer DS20E 666 MHzP running OpenVMS V7.2-1"
7 REPLIES 7
Robert Gezelter
Honored Contributor

Re: DIR/FTP command between OpenVMS 7.2-1 and Windows IIS

John,

I am in the middle of an emergency, but I can make two comments:

- try using ftp directly, and verify that things work as expected.
- attempt to use a domain name (or a name in the hosts file) and see if that works correctly.

I do not have a copy of your versions of the software up at this instant, but the error messages would seem to imply a potential bug when an IP address is used in the dir/ftp syntax.

- Bob Gezelter, http://www.rlgsc.com
John T. Farmer
Regular Advisor

Re: DIR/FTP command between OpenVMS 7.2-1 and Windows IIS

Robert,

Sorry about your emer. situation. Yes, I have been successfully using the VMS ftp command both at the command line and in DCL using /input=scriptfile.ftp. However I just ran across the DIR/FTP and COPY/FTP documenation and wanted give that a try. Wasn't sure if this applied to systems outside the VMS world.

Thanks,

John
Steven Schweda
Honored Contributor

Re: DIR/FTP command between OpenVMS 7.2-1 and Windows IIS

I don't know why it might care, but it looks
as if the COPY /FTP code is trying to do a
(reverse) DNS look-up on that IP address.
That apparently fails, and that's apparently
fatal.

It might help if you could unscramble some
of those hidden data a little:

mydomain/myuser ???
myftpfolder ???

Around here, for example, to see [.TEST]:

alp $ dir /ftp 10.0.0.9"sms PASSWD"::"test/"

Directory 10.0.0.9"sms password"::

ALP$DKA0:[SMS.TEST]A.A;3 ALP$DKA0:[SMS.TEST]A.A;2
ALP$DKA0:[SMS.TEST]A.DIR;1 ALP$DKA0:[SMS.TEST]B.B;2
ALP$DKA0:[SMS.TEST]B.DIR;1 ALP$DKA0:[SMS.TEST]C.DIR;1
ALP$DKA0:[SMS.TEST]FRED.ZIP;1
alp $
alp $ tcpip show version

HP TCP/IP Services for OpenVMS Alpha Version V5.4 - ECO 6
on a COMPAQ Professional Workstation XP1000 running OpenVMS V7.3-2

This stuff is a bit quirky. For example,
"test/" works for [.test], but [.test]
(unquoted) does not, but "[.test]" (quoted)
does. But "/dka0/anonymous/bzip2/" and
"dka0:[anonymous.bzip2]" (quoted or not) all
work.

If you don't already have a symbol:

NSL*OOKUP == "$ SYS$SYSTEM:TCPIP$NSLOOKUP.EXE"

Then:

nslookup 192.168.0.44
Steven Schweda
Honored Contributor

Re: DIR/FTP command between OpenVMS 7.2-1 and Windows IIS

> TCP/IP Services for OpenVMS Alpha Version V5.1

Of course, new releases of TCPIP are
generally more competent than older ones, and
V5.1 is pretty old now.
Robert Gezelter
Honored Contributor

Re: DIR/FTP command between OpenVMS 7.2-1 and Windows IIS

John,

No problem, just at this instant I cannot take the time to write an extended answer. The emergency is a client problem (I am somewhat deep into a problem at this instant; this morning, I was giving a speech on wireless security for Westchester County). I was writing the response as I was waiting for something.

- Bob Gezelter, http://www.rlgsc.com
John T. Farmer
Regular Advisor

Re: DIR/FTP command between OpenVMS 7.2-1 and Windows IIS

mydomain/myuser is the format of ftp user id. It authenticates to one of our windows domains. mypwd is the associated password.

As for the NSLOOKUP, I'm getting this error

$ nsl 192.168.0.44
*** Can't initialize resolver.
$

Thanks,

John
Steven Schweda
Honored Contributor

Re: DIR/FTP command between OpenVMS 7.2-1 and Windows IIS

> mydomain/myuser is the format of ftp user id.

Ok. I guess that's another reason that those
things are in quotation marks.

> $ nsl 192.168.0.44
> *** Can't initialize resolver.

I'd say that it's time for the ever-popular
SYS$MANAGER:TCPIP$CONFIG.COM. There should
be choices like "1 - Core environment" and
then "4 - BIND Resolver" (but I can't speak
for your TCPIP version).

If you missed this one, though, it might pay
for you to check out the other guys in there,
too. "A - Configure options 1 - 5" is
popular.

I assume that you have a DNS server for your
local network. If you're using the local
HOSTS data base instead, then you may need to
add more data there.