Re: FTP copy file (120 Views)
Reply
Occasional Contributor
Igor Fosic
Posts: 5
Registered: ‎08-11-2004
Message 1 of 8 (120 Views)

FTP copy file

Is there any way to copy file through FTP (DECnet is not working between hosts) in way like I did it through DECnet.
Example
$ copy/log disk0:[000000...]*.*/since=yest/mod -
remote_host::disk0:[000000...]*.*

thans
Honored Contributor
Karl Rohwedder
Posts: 1,616
Registered: ‎10-29-2003
Message 2 of 8 (120 Views)

Re: FTP copy file

Igor,

if your VMS/TCPIP is sufficiently up-to-date,
you could do a COPY/FTP.

Pls. see the HELP COPY /FTP text.

mfg Kalle
HP Pro
Ian Miller.
Posts: 4,370
Registered: ‎06-03-2003
Message 3 of 8 (120 Views)

Re: FTP copy file

I think /SINCE has not been implemented for COPY/FTP :-)

I guess something creative could be dine with selecting a set of files with DIR and
this http://dcl.openvms.org/stories.php?story=05/01/21/1424401
___________________
Purely Personal Opinion
Honored Contributor
Antoniov.
Posts: 3,182
Registered: ‎07-08-2003
Message 4 of 8 (120 Views)

Re: FTP copy file

Neither /mod is implemented.
COPY/FTP use only ftp features.

Antonio Vigliotti
Antonio Maria Vigliotti
Trusted Contributor
Daniel Fernandez Illan
Posts: 341
Registered: ‎03-30-2004
Message 5 of 8 (120 Views)

Re: FTP copy file

Igor,
Also you must define local/remote_host on tcp/ip hosts records and include in remote_host a proxy record (if it uses TCP/IP on VMS) including local_host and local/remote users.
Saludos, Daniel.
Honored Contributor
Robert Gezelter
Posts: 2,367
Registered: ‎10-30-2003
Message 6 of 8 (120 Views)

Re: FTP copy file

Igor,

I have done something similar. If you are limited to FTP, a three step process is used.
- Generate a directory listing to a file
- Parse and identify the relevant listed files
- execute the FTP command file generated in the previous step

I am about to run for a meeting, but if my recollection is correct, the command options for username and password exist on the relevant DCL commands (COPY/FTP and DIRECTORY/FTP) will accept the DECnet-style node specification (" "::) as part of the DCL from/to files. It is available on TCPIP 5.4, and probably earlier, although offhand I do not remember the precise point at which this appeared.

I hope that the above is helpful.

- Bob Gezelter, http://www.rlgsc.com
Advisor
Pim van Velzen
Posts: 15
Registered: ‎06-03-2003
Message 7 of 8 (120 Views)

Re: FTP copy file

If you configure DECnet-plus on both VMS-systems for DECnet-over-IP, you can transparantly use the copy-command with all your favourite qualifiers.
Honored Contributor
Vladimir Fabecic
Posts: 1,128
Registered: ‎03-03-2005
Message 8 of 8 (120 Views)

Re: FTP copy file

There are two ways you copy files (and directories)using all qualifiers. First is using DECnet-plus on both VMS-systems configured for DECnet-over-IP. That is not easy if you are using DECNET fase IV.
Second way is using NFS. If you are using script that copies important files from one node to another, you can export directory on one system and mount it on another. You can work with NFS mounted disk like it is your local disk.
In vino veritas, in VMS cluster
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.