none
BizTalk 2016 SFTP, Winscp- Temp Log Files RRS feed

  • Question

  • Hi All, 

    I am using BizTalk 2016, CU6. I am using sftp adapter alogn with Winscp on the server. whenever we are enabling the receive location which is using sftp , It looks like WinSCP is creating huge log files on temp location. 

    Winscp is not purging the log files , hence this is causing space issue on C Drive. 

    We tried following 

    1. Changing the temp file location for log file using Winscp GUI, but this is not working, it looks like it is using the default path for the log files all the time ? Unless we are doing something wrong. 
    2. Written a script to delete the temp files but this requires restarting the host instance which is not right solution. 

    Any points will be appreciated here. 

    Thanks

    Naushad 


    Cheers,HTH

    Naushad Alam http://alamnaushad.wordpress.com/

    When you see answers and helpful posts, please click Vote As Helpful , Propose As Answer , and/or Mark As Answer

    Tuesday, November 12, 2019 11:03 AM
    Moderator

All replies

  • Have you tried changing the TMP path for the BizTalk host user?   
    Tuesday, November 12, 2019 7:58 PM
  • Thanks for you reply, We tried that but it did not work , Could you please tell me how to do that?

    Thanks

    Naushad 


    Cheers,HTH

    Naushad Alam http://alamnaushad.wordpress.com/

    When you see answers and helpful posts, please click Vote As Helpful , Propose As Answer , and/or Mark As Answer

    Wednesday, November 13, 2019 1:51 PM
    Moderator
    • Create a new folder on the other drive
    • Give the BizTalk in-process host user full access to the folder
    • Run Command Prompt as the BizTalk in-process host user-Windows button
    • At the command prompt enter SystemPropertiesAdvanced and press enter
    • Click on the button near the bottom labelled Environment Variables.
    • In the Variable value Edit box specify the path as new tempfolder for both TMP and TEMP.
    • Click Ok Twice
    • Restart all the in process hosts.


    Wednesday, November 13, 2019 8:23 PM
  • Thanks for the steps, its working. 

    Is there any way to stop the logging ?


    Cheers,HTH

    Naushad Alam http://alamnaushad.wordpress.com/

    When you see answers and helpful posts, please click Vote As Helpful , Propose As Answer , and/or Mark As Answer

    Thursday, November 14, 2019 10:27 AM
    Moderator
  • The logging?  Or the temporary files?
    Thursday, November 14, 2019 8:22 PM