FTPSNDFILE
  (4-replies, RPG IV)
Post your reply | Return to Forum  Refresh | ascending | descending
Author: Bob Cozzi Return to Forum  Refresh 2010-01-27 06.32.58
This does keep the log file. You put the LOG file name on the LOG parameter (as
I illustrated) but change the DSPLOG parameter to *NO.
Author: hblaisdell Return to Forum  Refresh 2010-01-27 04.56.31
I want to keep the QFTPLOG file
Author: Bob Cozzi Return to Forum  Refresh 2010-01-26 16.08.52
Which log? The FTP generated log or the database file the FTPSNDFILE program
creates and then uses DSPPFM to display?
Specify the following on the FTPSNDFILE CL command and it shouldn't display
anything:

FTPSNDFILE ...  LOG(QFTPLOG) DSPLOG(*NO)

There was/is a bug in the version that's out there.
I've updated the one available for download from this website. Click on the
downloads section to retrieve the latest version. 

The fix can also be applied on your copy--its a one line change as follows:

SeqNbr
0683.00     if bDspLog and (bNoLog = *OFF);


Adding the check for bDspLog will allow you to control the display of the log
file via the DSPLOG(*NO | *YES) parameter. Currently the version you downloaded
ignored the DSPLOG parameter which is what was displaying the log always.
Author: Muehe Return to Forum  Refresh 2010-01-26 15.40.07
http://www.mcpressonline.com/programming/cl/ftp-made-easier.html
Author: hblaisdell Return to Forum  Refresh 2010-01-26 10.20.03
I know FTPSNDFILE has been available for a while but I just found it. I have 
set up FTPSNDFILE to FTP several files(I am reading a DB2 file with file names 
on it) one right after the other. I do not need the display information but I 
do want to keep the log file. I thought I knew a little bit about RPG but I 
cannot seem to find the answer. How can I set this process up so I do not have 
to hit the enter key for each new file? I don't need the display information 
but if this cannot be stopped I don't mind. I do want to stop hitting the enter 
key though. Has anybody had any luck making this change?
Your reply | top | Return to Forum | ascending | descending
      Name:
    
By pressing you agree to the
forum guidelines
      Note: Your message is limited to 3500 characters.