cancel
Showing results for 
Search instead for 
Did you mean: 

FTP

SOLVED
Go to solution
ram_47
Frequent Advisor

FTP

How could I FTP files to a folder like this -
DKB500:[DEV.TESTCLI]
6 REPLIES
Lokesh_2
Esteemed Contributor

Re: FTP

Hi Ram,

You can do this this by using FTP command on VMS. However,I am not sure what you want to do. If FTP is not enabled in your VMS box, then you need to enable FTP first. That you can do by running SYS$MANAGER:TCPIP$CONFIG.COM.

Can you kindly explain your what problem you are facing in detail?

HTH,
Thanks & regards,
Lokesh
What would you do with your life if you knew you could not fail?
ram_47
Frequent Advisor

Re: FTP

how do i FTP to folder DEV.TESTCLI on DKB500
Volker Halle
Honored Contributor
Solution

Re: FTP

Ram,

this depends on your FTP client, but on Windows, it would be like:

> FTP your-vms-node
Username: your-user
Password: your-pw
FTP> CD DKB500:[DEV.TESTCLI]
FTP> PUT filename
FTP> QUIT

Volker.
Jan van den Ende
Honored Contributor

Re: FTP

ram,

if the file contains just plain text (which I think is most probable) you must insert a line
TYPE A
(for ASCI)
before the PUT command
(otherwise the contents will be recognisable, but look quite funny)

hth

Proost.

Have one on me.

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

Re: FTP

Hi Ram,
you can use GET command to read, PUT to send. If you want to get multiple files you can use MGET command; if you want to put multiple files you can use MPUT command.
To change local directory you can type LCD command.

Antonio Vigliotti
Antonio Maria Vigliotti
Arch_Muthiah
Honored Contributor

Re: FTP

Ram,

FTP> cd KDB500:[DEV.TESTCLI]
FTP> pwd

FTP> dir or ls -- list files from remote host
FTP> !dir -- list files from local host

FTP> mget *.* -- will copy all the files

But not sure whether you can FTP the whole directory and its subdir using
FTP> mget dka0:[cobol...]src.dir

It's depend on the FTP version you have.

Archunan Muthiah
Symantec
Regards
Archie