The currently used standard:
// EXEC PGM=FTP,REGION=0K
//SYSPRINT DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//INPUT DD *
ip
name pass
LCD 'name'
BINARY
PUT file
QUIT
//SYSPRINT DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//INPUT DD *
ip
name pass
LCD 'name'
BINARY
PUT file
QUIT
Thanks in advance to all responded.