cop from ftp site - VMS

This is a discussion on cop from ftp site - VMS ; Hello everyone,
Anyone know how to copy from an ftp site after logging in and
connecting? Basically once I'm in I want to go to a specific folder,
then copy a file from that folder and then go into another ...

cop from ftp site

Hello everyone,

Anyone know how to copy from an ftp site after logging in and
connecting? Basically once I'm in I want to go to a specific folder,
then copy a file from that folder and then go into another folder and
place the file there. Any help will be greatly appreciated.

** All in DCL.
--
Himansu

Re: cop from ftp site

On Oct 4, 1:46 pm, himansu wrote:
> Hello everyone,
>
> Anyone know how to copy from an ftp site after logging in and
> connecting? Basically once I'm in I want to go to a specific folder,
> then copy a file from that folder and then go into another folder and
> place the file there. Any help will be greatly appreciated.
>
> ** All in DCL.
> --
> Himansu

Himansu,

Yes, this is a common problem. I have dealt with it for several
clients over the years.

Depending on the OpenVMS version and the version of TCP/IP stack in
use, there are a variety of qualifiers on the FTP command to allow FTP
to take its commands from a command file.

More recent versions of OpenVMS can also use the COPY/FTP command to
process copies one at a time.

The $STATUS value should be useful when the command completes to
verify that a transfer has occured. Checking the file is also a sound
idea.

Re: cop from ftp site

himansu wrote:
> Hello everyone,
>
> Anyone know how to copy from an ftp site after logging in and
> connecting? Basically once I'm in I want to go to a specific folder,
> then copy a file from that folder and then go into another folder and
> place the file there. Any help will be greatly appreciated.
>
> ** All in DCL.
> --
> Himansu
>

Re: cop from ftp site

himansu wrote:
>
> Hello everyone,
>
> Anyone know how to copy from an ftp site after logging in and
> connecting? Basically once I'm in I want to go to a specific folder,
> then copy a file from that folder and then go into another folder and
> place the file there. Any help will be greatly appreciated.
>
> ** All in DCL.

If my reply failed to adequately answer your question, perhaps you
should put your question more clearly! If you DID read the FM, you
might try telling us which part was not sufficiently clear.

Or, if you have tried and failed, you might provide the commands you
used and the resulting error messages, if any.

Four years ago I had several batch jobs that sent files to the mainframe
at headquarters. If was not particularly difficult to do.

Re: cop from ftp site

In article <1191523568.898789.28770@d55g2000hsg.googlegroups.c om>, himansu writes:
>
> Hello everyone,
>
> Anyone know how to copy from an ftp site after logging in and
> connecting? Basically once I'm in I want to go to a specific folder,
> then copy a file from that folder and then go into another folder and
> place the file there. Any help will be greatly appreciated.
>
> ** All in DCL.