Hi- I am not sure how this works in FTP. I have screen program where I just need to FTP specific file on to another AS400 server.
Here is Piece of code I used
During screen execution, it prompts for FTP commands. I checked OVERRIDE in debug and its available. I dont know if this process works in batch only.
Bt when I run these commands on command line it works fine. Can someone tell me what is going wrong? And is there any other way to do it?
Here is Piece of code I used
Code:
OVRDBF FILE(IPUT) TOFILE(MYLIB/QCLSRC) + MBR(FTPCMD) OVRDBF FILE(OUTPUT) TOFILE(MYLIB/FTPLOG) + MBR(*FIRST) STRTCPFTP RMTSYS(REMOTESR)
Bt when I run these commands on command line it works fine. Can someone tell me what is going wrong? And is there any other way to do it?
Comment