5 pts.
 Message when file does not exist
I am writing a program to send a file and want to moitor when the file does not exist on the server(system i)  that is doing the ftp.  I am trying to notify someone when there is a problem.

Software/Hardware used:
system i (as/400)
ASKED: January 6, 2012  4:09 PM
UPDATED: February 28, 2012  12:15 PM

Answer Wiki:
If you are doing the FTP from the iSeries, you can use source members to store the input and output of the FTP. OVRDBF FILE(INPUT) TOFILE(QTEMP/FTPCMD) OVRDBF FILE(OUTPUT) TOFILE(QTEMP/FTPLOG) FTP RMTSYS(&HOST) FTPCMD and FTPLOG were created with CRTSRCPF QTEMP/FTPxxx Once you do the FTP command, you can now go in and read the FTPLOG file to determine exactly what happended in your process.
Last Wiki Answer Submitted:  January 9, 2012  3:25 pm  by  CharlieBrowne   33,710 pts.
All Answer Wiki Contributors:  CharlieBrowne   33,710 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


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


 

I am writing a program…

For what platform and in what language?

…to moitor when the file does not exist on the server(system i) that is doing the ftp.

Is the System i acting as the client or the server? Do you you want to know if the file doesn’t exist before the FTP? Or if it doesn’t get created by the FTP? Do you want to know if it doesn’t exist on the client, i.e., it can’t be FTPed because it doesn’t exist?

Tom

 110,135 pts.