Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-04-2012, 09:05 AM
dawgfanjeff dawgfanjeff is online now
Registered User
 
Join Date: 09-04-2012
Posts: 3
Separate log file for FTP transaction

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
Reply With Quote
  #2  
Old 09-04-2012, 09:23 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
1. Disable logging for the other steps
http://www.kinook.com/VisBuildPro/Ma...tepfailure.htm
http://www.kinook.com/VisBuildPro/Ma...gingsample.htm

or

2. Temporarily change the log file for the FTP step
http://www.kinook.com/VisBuildPro/Ma...gingsample.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/Ma...riptevents.htm
Reply With Quote
  #3  
Old 09-04-2012, 10:52 AM
dawgfanjeff dawgfanjeff is online now
Registered User
 
Join Date: 09-04-2012
Posts: 3
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.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 03:50 PM.


Copyright © 1999-2023 Kinook Software, Inc.