1753802 Members
7744 Online
108805 Solutions
New Discussion юеВ

Re: copy/ftp

 
SOLVED
Go to solution
Gerry Downey
Frequent Advisor

copy/ftp

I'm trying to do a copy/ftp onto a windows 2003 server. The ftp space on the 2003 server is set up correctly.

The command I use is
copy/ftp xx.txt server"username password"::"dir"

But I get the error "no logical name match"

I can ftp onto the server, enter the user name and password, CD to the correct directory and then PUT the files. It only fails when I do the copy/ftp command.

The Alpha is running VMS V7.3-1 and TCPIP V5.3 ECO4

Thanks for any help
26 REPLIES 26
Craig A Berry
Honored Contributor

Re: copy/ftp

What syntax are you using for the target directory? What happens if you explicitly specify dir/xx.txt as the target filename?

You might want to try the /verbose qualifier to see if that tells you anything.
Antoniov.
Honored Contributor

Re: copy/ftp

Gerry,
I guess your command has a syntax error; may be in dir component if you are using vms convention.
Example of wrong command:
$ COPY/FTP XX.TXT W2K3"USER PWD"::"[TEMP]"
Example of right command:
$ COPY/FTP XX.TXT W2K3"USER PWD"::"\TEMP"

Antonio Vigliotti
Antonio Maria Vigliotti
Antoniov.
Honored Contributor

Re: copy/ftp

Gerry
don't forget you could use /NOSTRU qualifier.

Antonio Vigliotti
Antonio Maria Vigliotti
Bojan Nemec
Honored Contributor

Re: copy/ftp

Gerry,

If Craigs and Antonios sugestions have not work, can you post the exact copy of the error you received?

Try to copy with a command without the output file specification:

copy/ftp xx.txt server"username password"::

Bojan
faris_3
Valued Contributor

Re: copy/ftp

Have you tried

$ copy/ftp/verbose file.txt
server"domain\user pwd"::"c:\dir\file.txt"



hth,
HF
Gerry Downey
Frequent Advisor

Re: copy/ftp

Thanks for your replies guys. The exact command I us is
copy/ftp *.txt servername"username password"::"\didata"

Error: %SYSTEM-F-NOLOGNAME, no logical name match.

If I use /verbose and /nostruvms, or leave off the directory name at the end, I get exactly the same response.

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.
Gerry Downey
Frequent Advisor

Re: copy/ftp

Hi HF, we both posted at the same time so didnt see your reply until I had completed my reply.
I have just tried your suggestion and received the exact same error.

Karl Rohwedder
Honored Contributor

Re: copy/ftp

COPY/FTP uses the program defined by the logical name OPENVMS$FTP. How is this defined on your system?
Gerry Downey
Frequent Advisor

Re: copy/ftp

$ $ sho log openvms$ftp
"OPENVMS$FTP" = "SYS$SYSTEM:TCPIP$FTP_CLIENT.EXE" (LNM$SYSTEM_TABLE)