Transfer file from and to mainframe using FTP
Transfer file from and to mainframe using FTP
You can use FTP dos command to transfer files from and to mainframe
Step1:
Start --> Run --> Command
Step2: Enter the following command
FTP XX.XXX.XX.XXX
Where XX.XXX.XX.XXX is the ip address of mainframe
Step3: When you are prompted for user name and password, provide your mainframe id and mainframe password
Step4:
; ; ; ;
To download the file from mainframe to PC
Get 'FIIE.ON.MAINFRAME' D:\MYFILES\TEST.TXT
To Upload the file to mainframe from PC
PUT D:\MYFILES\TEST.TXT 'FILE.ON.MAINFRAM'
Where
FILE.ON.MAINFRAM is the file on mainframe
and
D:\MYFILES\TEST.TXT - is the file on PC
Comments
Anonymous
Thu, 01/05/2012 - 14:43
Permalink
comnt
its a good answer... working excellently in XP...
But Its not working in Window 7 :( .. could anyone please help
n mail at pankajcat2008@gmail.com
Anonymous
Wed, 05/30/2012 - 05:50
Permalink
For Window 7 you need to
For Window 7 you need to use above command in following way..
PUT "PC file path (e.g. c:\xxxxxxxx)" "mainframe file name
"
Anonymous
Thu, 04/05/2012 - 12:34
Permalink
I tried the
I tried the above method. after giving username and password, iam getting below error.
550-error initializing FTP server
what is the issue ?
Anonymous
Fri, 07/06/2012 - 09:48
Permalink
IP error
hi,,
as per the above procedure if i provide the IP address its showing
ftp:connect: unknown error number..please help me
DikDude
Sat, 07/07/2012 - 21:39
Permalink
ftp error
Try to "ping" that ip address or run a tracert to it to make sure you have a valid/proper ip address.
Otherwise, talk with your network support people.
Anonymous
Wed, 08/08/2012 - 18:51
Permalink
xcenter
I don't bother with these commands. I simply use XCenter:
http://www.hyunsystems.com/content.php?pageid=11