Here it is :-
OVRDBF FILE(INPUT) TOFILE(Yourlib/Yourfile)
OVRDBF OUTPUT(OUTPUT) TOFILE(QTEMP/FTPLOG)
FTP (hostname or IP address)
Replace the Yourlib/Yourfile with your file containing FTP commands. The OUTPUT file is made in QTEMP, if you leave this override out, then the output will show on the screen if you run interactively.
Replace the hostname or IP address with the hostname or IP address of the FTP server.