10 pts.
 Example of FTP script
Please provide me with an example of iSeries script in QFTPSRC file.

Software/Hardware used:
ZMODFTP
ASKED: February 14, 2013  3:34 PM

Answer Wiki:
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  CharlieBrowne   33,695 pts.
All Answer Wiki Contributors:  CharlieBrowne   33,695 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

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

 110,115 pts.