PDA

View Full Version : Separate log file for FTP transaction


dawgfanjeff
09-04-2012, 09:05 AM
I need to upload a logfile from a ftp download to confirm files were successfully retrieved. The build log includes each step, and I don't need the vendor to see that. How can I capture JUST the ftp transaction (including time/date stamp)?
Using 7.5

kinook
09-04-2012, 09:23 AM
1. Disable logging for the other steps
http://www.kinook.com/VisBuildPro/Manual/stepfailure.htm
http://www.kinook.com/VisBuildPro/Manual/loggingsample.htm

or

2. Temporarily change the log file for the FTP step
http://www.kinook.com/VisBuildPro/Manual/loggingsample.htm

or

3. In the vbld_StepDone script event for the FTP step (or the following step), write the timestamp and LASTSTEP_OUTPUT contents to a file.
http://www.kinook.com/VisBuildPro/Manual/scriptevents.htm

dawgfanjeff
09-04-2012, 10:52 AM
Thanks-I ended up creating a "Write File" event populated with some text and "%LASTSTEP_OUTPUT%". Works perfectly.

I should have realized this all along, but this was exactly the hint I needed. Thx.