First create two source files.
You can name them whatever you want. I use FTPINPUT & FTPOUTPUT
Create a member in FTPINPUT. Enter all information that you would normally have to key in if you did the FTP interactively. From your USRPRF to the QUIT command
In a CL program you would need these statements:
OVRDBF File(Input) Tofile(FTPINPUT) MBR(your member)
OVRDBF File(Output) Tofile(FTPOUTPUT) MBR(your member)
FTP xxxxx Where xxxx is the target of your FTP process
once completed, file FTPOUTPUT will contain a log of the FTP process
Last Wiki Answer Submitted: February 14, 2013 4:36 pm by CharlieBrowne33,695 pts.
All Answer Wiki Contributors: CharlieBrowne33,695 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
The Information Center already has multiple examples of command scripts in the Using the File Transfer Protocol client on the System i platform topic. However, if you’re using the ZMOD FTP product, you might need to contact the product vendors for support. — Tom
The Information Center already has multiple examples of command scripts in the Using the File Transfer Protocol client on the System i platform topic. However, if you’re using the ZMOD FTP product, you might need to contact the product vendors for support. — Tom