1753937 Members
9583 Online
108811 Solutions
New Discussion юеВ

Re: copy/ftp

 
SOLVED
Go to solution
Bojan Nemec
Honored Contributor

Re: copy/ftp

Gerry,

Try to look at the OPENVMS$FTP logical name. Is that logical name defined? Where is pointing? If you do a DIR OPENVMS$FTP did you receive something like this:

Directory SYS$COMMON:[SYSEXE]

TCPIP$FTP_CLIENT.EXE;1

Total of 1 file.


Bojan
Antoniov.
Honored Contributor

Re: copy/ftp


I have also found that if I put in an incorrect username and password or even use a server name that doesn't exist, I still get the same error.

if you receive same error on wrong server means trouble is local. The logical name is right (it's the same on my system).
Can you copy onto your same system?
Example:
$ COPY/FTP XX.TXT -
LOCALHOST"user pwd"::"[DIR]"

Antonio Vigliotti
Antonio Maria Vigliotti
Bojan Nemec
Honored Contributor

Re: copy/ftp

Hi,

I definitely type to slow ;)

Ftp can have many logical names to adjust its work. So check all the TCPIP$FTP* logical names. Check also the SYS$LOGIN and SYS$DISK logical name.

And did you try Antonios sugestion?

Bojan
faris_3
Valued Contributor

Re: copy/ftp

Have you used domain\username instead of
username ?

On XP i cannot specify the directory.
It is defined in the properties of
IIS ftp server.

Just specifying the file name works :

$copy /ftp/verbose login.com 11.132.69.2"domain\faris Password"::"test" Passive is ON.
220 Microsoft FTP Service Connected to dhcp-11-132-69-2.xxx.yy.com.
331 Password required for domain\faris.
230 User domain\faris logged in.
227 Entering Passive Mode (11,132,69,2,17,124).
125 Data connection already open; Transfer starting.
226 Transfer complete.
faris_3
Valued Contributor

Re: copy/ftp

Is $ copy /ftp to a VMS system working ?

Can you post a
$ set watch file /class=major
$ copy/ftp ...

/HF
Gerry Downey
Frequent Advisor

Re: copy/ftp

I CANT copy/ftp onto the Alpha. I have attached the output from the set watch command.


$ copy/ftp login.com hayesfuelsmf"user pass"::"\didata"
%XQP, Thread #0, Access FDLSHR.EXE;1 (2131,2,0) Status: 00000001
%XQP, Thread #0, Access (0,0,0) Status: 00000910
%XQP, Thread #0, Access DECC$SHR.EXE;1 (6508,3,0) Status: 00000001
%XQP, Thread #0, Control function (6508,3,0) Status: 00000001
%XQP, Thread #0, Deaccess (6508,3,0) Reads: 2, Writes: 0, Status: 00000001
%XQP, Thread #0, Access (0,0,0) Status: 00000910
%XQP, Thread #0, Access TCPIP$ACCESS_SHR.EXE;1 (14886,54,0) Status: 00000001
%XQP, Thread #0, Control function (14886,54,0) Status: 00000001
%XQP, Thread #0, Deaccess (14886,54,0) Reads: 2, Writes: 0, Status: 00000001
%XQP, Thread #0, Lookup (9158,675,0) Status: 00000001
%XQP, Thread #0, Access DECC$SHR_EV56.EXE;1 (9158,675,0) Status: 00000001
%XQP, Thread #0, Control function (9158,675,0) Status: 00000001
%XQP, Thread #0, Deaccess (9158,675,0) Reads: 12, Writes: 0, Status: 00000001
%XQP, Thread #0, Access SYS$PUBLIC_VECTORS.EXE;1 (6534,3,0) Status: 00000001
%XQP, Thread #0, Lookup (6534,3,0) Status: 00000001
%XQP, Thread #0, Access SYS$PUBLIC_VECTORS.EXE;1 (6534,3,0) Status: 00000001
%XQP, Thread #0, Control function (6534,3,0) Status: 00000001
%XQP, Thread #0, Deaccess (6534,3,0) Reads: 4, Writes: 0, Status: 00000001

%XQP, Thread #0, Lookup (9249,938,0) Status: 00000001
%XQP, Thread #0, Access UCX$IPC_SHR.EXE;1 (9249,938,0) Status: 00000001
%XQP, Thread #0, Control function (9249,938,0) Status: 00000001
%XQP, Thread #0, Deaccess (9249,938,0) Reads: 3, Writes: 0, Status: 00000001
%SYSTEM-F-NOLOGNAM, no logical name match
%XQP, Thread #0, Deaccess (6534,3,0) Reads: 0, Writes: 0, Status: 00000001
%XQP, Thread #0, Deaccess (2131,2,0) Reads: 7, Writes: 0, Status: 00000001
$
Bojan Nemec
Honored Contributor

Re: copy/ftp

Gerry,

Comparing yours output from the set watch file /class=major, I see that the next file open on my system is TCPIP$HOSTS.DAT. So check the logical name (and the file) TCPIP$HOSTS.

Bojan
Gerry Downey
Frequent Advisor

Re: copy/ftp

sho log tcpip$host
"TCPIP$HOST" = "SYS$COMMON:[SYSEXE]TCPIP$HOST.DAT;1" (LNM$SYSTEM_TABLE)


I have looked at the contents of TCPIP$HOST.DAT and it all looks ok. I have noticed however, that the Alpha TCPIP hostname in this file is not the same as the Alpha system name, could this be a problem?

faris_3
Valued Contributor
Solution

Re: copy/ftp

It seems there is a problem in the TCPIP
configuration.

First check the inet logicals :

$ show log *inet*

Then
- check host table for your own name
- tcpip show (conf) comm/interface

hth,
HF
faris_3
Valued Contributor

Re: copy/ftp

Problem with TCPIP$INET_HOST ?

$ deass /sys /exe "TCPIP$INET_HOST"
$ copy /ftp/verbose login.com - 151.10.9.2"domain\faris Password"::test
%SYSTEM-F-NOLOGNAM, no logical name match