ftp file from unix to mainframe

thanks

Hi,
We do a get from the mainframe this way:

//FTPSTEP EXEC PGM=FTP                                         
//SYSPRINT DD SYSOUT=*                                         
//DTARD DD DSN=PGLHU.PA.DTAR(+1),DISP=(NEW,CATLG,KEEP),        
//      SPACE=(TRK,(500,100),RLSE),                            
//      DCB=(RECFM=FB,LRECL=132,BLKSIZE=3960)                  
//OUTPUT DD SYSOUT=*                                           
//INPUT DD *                                                   
  0.0.0.0 (exit                                           
  user password                                                   
  site dcbdsn=pglhu.pa.dtar                                    
  cd /c:/dtar                                                  
  get dtar.000 //DD:DTARD                                      
  delete /c:/dtar/dtar.bkp                                     
  rename /c:/dtar/dtar.000 /c:/dtar/dtar.bkp                   
  quit                                                         
//*                                                            

Also try this site for help on the mainframe side if the mainframe is IBM MVS:
MVSFORUMS.com :: Index