Operating System - OpenVMS
1753989 Members
6207 Online
108811 Solutions
New Discussion юеВ

ftp from one vax to another

 
SOLVED
Go to solution
vmsserbo
Super Advisor

ftp from one vax to another

I have to ftp come files from one vax to another. What is the proper FTP command to ftp files
4 REPLIES 4
Jan van den Ende
Honored Contributor
Solution

Re: ftp from one vax to another

Miles,

first, you will need to have some TCP stack running at both systems.
Being Vaxes, that is by noe means guaranteed! (in which case you might also try DECnet, but that is another question)

Then you have to know how to reach "the other". Either IP address or name. They must have connectivity.

Then

type
FTP
gives the prompt
FTP>
type:
FTP> open
FTP> Username to use at
FTP> FTP> requires a password:
FTP> PUT

(or: GET

( repeat as needed )

FTP> BYE ! finished

-- there are also commonds to thensfer multiple files, but this will get you going.


Success!

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
Heinz W Genhart
Honored Contributor

Re: ftp from one vax to another

Hi Miles

VAXa_$ FTP
ftp> open VAXb
some identification with username/password follows

put file1.x ! from VAXa to VAXb
get file2.x ! form VAXb to VAXa

mput *.x ! multiple files from a to b
mget *.x ! multiple files from b to a

Dont forget to set binary mode (set bin) before transfering binary files.

There is also the possibility to use a commandfile, in case you have to do some periodic ftp transfers.

I would recommend to read the help information for ftp. There you can find the required informations.

$ HELP FTP

and

$ FTP
ftp> help

hope that helps

regards

Heinz
Richard Whalen
Honored Contributor

Re: ftp from one vax to another

The FTP example given above will transfer text files, but not binary files. The default transfer mode in FTP is ASCII; to safely transfer binary file you have to enter image/binary transfer mode.
comarow
Trusted Contributor

Re: ftp from one vax to another

Hi Miles!

just to simplify.

When you

FTP nodeaddress
it will assume you will use the same username on the remote node.
If it's not, put in the remote username.
then put in the remote password.

Sometimes they are set up as annonymous.
and then usually the password is your email address.

Be sure and use the correct file type.

ftp>ascii will set it to text
ftp>bin will set it to binary

Ftp will use both DCL and Unix style command
for directory.

FTP> Help will liste them all


another simple alternative is
copy/ftp which will use copy type syntax, but invoke FTP protocol.

If security is a concern, there is secure
FTP, which will encrypt your username/password.

Have fun!