[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FTP_LOG(*OFF) doesn't work??



   Just dig more inside the package...
   the problem appear to be when Handle = *Zero, so FTP_Logging() will
   call
   cmd_occurSession(DFT_SESSION_IDX)
   and after setting wkDebug it calls cmd_occurSession(savSessionIdx) and
   revert back wkDebug.
   If i perform a dummy open, so that handle is 1 instead of 0, (or, i
   suppose, any other handle grater than 0) then wkDebug is correct and
   loggin won't happen.
   I'm not sure i changing row 936 from
   �B01 c������������������ if������� peSession
   <= 0
   to
   �B01 c������������������ if������� peSession
   < 0
   would generate more problems that it solved (also, i'm not happy to do
   custom modify on a external project...)
   HTH

   2016-04-06 11:31 GMT+02:00 Nicola Brion <[1]obelix.it@xxxxxxxxx>:

   2016-04-05 19:14 GMT+02:00 Julius Kaj <[2]Kaj.Julius@xxxxxx>:

     Hi Nicola,
     Messages sent to the job log is often sent by system objects and not
     the application itself. You must therefore control the level of
     logging you want at the job level.

   Julius, my question was about the message sent by the logging facility
   of the FTPAPI, not system message.
   my joblog looks like:
   0: FTPAPI version 2.3 released on 2010-05-27
   0: 220-QTCP at LOOPBACK.
   0: 220 Connection will close if idle more than 5 minutes.
   0: > USER nicola
   0: 331 Enter password.
   0: > PASS **********
   0: 230 NICOLA logged on.
   0: > TYPE A
   0: 200 Representation type is ASCII nonprint.
   0: > PORT 127,0,0,1,130,73
   0: 200 PORT subcommand request successful.
   0: > NLST /ivri/unicredit/output/IV*.*
   0: 125-NAMEFMT set to 1.
   0: 125� No files found in directory /ivri/unicredit/output/IV*.*
   0: 250 List completed.
   where last 8� rows are repeted every 30 sec or so.
   All are CPF9897 which i supposed are sent by the DiagMsg() function of
   FTPAPI. I appreciate to be able to send diag message to JobLog when
   needed, but if i ask to stop, i expect them to stop
   i debugged the function, and wkDebug appear to be still *on even after
   i ask it to be off....

   --
   Nicola Brion
   Tech Fossil (Often �called a Dinosaur) - ancient animal that make
   things to work.

References

   1. mailto:obelix.it@xxxxxxxxx
   2. mailto:Kaj.Julius@xxxxxx
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------