Transfer file from and to mainframe using FTP You can use FTP dos command to transfer files from and to mainframe
Start –> Run –> Command Â
Step2:  Enter the following command 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 ; ; ; ; To download the file from mainframe to PC
   Get ‘FIIE.ON.MAINFRAME’ D:MYFILESTEST.TXT
To Upload the file to mainframe from PC
   PUT D:MYFILESTEST.TXT ‘FILE.ON.MAINFRAM’
FILE.ON.MAINFRAM is the file on mainframe D:MYFILESTEST.TXT – is the file on PCÂ