ForeFront TMG and Active FTP Issues

While working with a client today, I was informed that they were having issues with a recently converted ISA to TMG instance, using the latest release of TMG. Particularly, the issue was that Active FTP just wasn’t plain working when used from a SharePoint financial application that is pretty heavily treaded.

Now for folks who aren’t accustomed to the difference between Active and Passive FTP, when using active mode the client machine will connect to a random unprivileged port to the FTP server’s command port, port 21. Following, the client will start listening to that port and sends the FTP commands in respect of the aforementioned port. The server will then connect back to the client’s specified data port from its local data port, which is port 20.

Now, there are some additional steps required when using ForeFront TMG in order to get Active FTP working, which in ISA 2006 was accomplished by merely unchecking the read-only checkbox on the rule and configuring Windows Firewall. In TMG the process requires additional steps, since it is also required to not only uncheck the read-only checkbox on Configure FTP, but you also have to right click the rule, go to System – > Application Filters and check the Allow active FTP access in the FTP Filter.

Share

PostCacheSubstitutionText

Description The Microsoft.SharePoint.WebControls.PostCacheSubstitutionText class inherits from the System.Web.UI.Control class providing required functionality for ASP.NET server controls. Understanding the use of the PostCacheSubsitutionText control is heavily related to the difference between fragment caching, where a small portion of the page is cached, as opposed to Post-Cache Substitution where the entire page is cached, except a much smaller segment that is kept dynamic.

This Post Details Content That I Have Written Regarding The SharePoint API On MSDN. The Full Article Will Have These Contents As Annotations Of The Full Article.

I Encourage You To Read The Full MSDN Class Documentation, Since Things Like Type Hierarchy Are Illustrated.

Adam Buenz’s MSDN Located At Annotations edited by Adam Buenz – MVP:

Description The Microsoft.SharePoint.WebControls.PostCacheSubstitutionText class inherits from the System.Web.UI.Control class providing required functionality for ASP.NET server controls. Understanding the use of the PostCacheSubsitutionText control is heavily related to the difference between fragment caching, where a small portion of the page is cached, as opposed to Post-Cache Substitution where the entire page is cached, except a much smaller segment that is kept dynamic.

Read My Complete MSDN Article: PostCacheSubstitutionText

Share

PostCacheSubstitutionTextType

Description The Microsoft.SharePoint.WebControls.PostCacheSubstitutionTextType enumeration is used in combination with the Microsoft.SharePoint.WebControls.PostCacheSubstitutionText type to support Post-Cache Substitution within SharePoint. Understanding the use of the PostCacheSubsitutionTextType enumeration is heavily related to the difference between fragment caching, where a small portion of the page is cached, as opposed to Post-Cache Substitution where the entire page is cached, except a

This Post Details Content That I Have Written Regarding The SharePoint API On MSDN. The Full Article Will Have These Contents As Annotations Of The Full Article.

I Encourage You To Read The Full MSDN Class Documentation, Since Things Like Type Hierarchy Are Illustrated.

Adam Buenz – WSS MVP – Community Content From Annotations edited by Adam Buenz – MVP:

Description The Microsoft.SharePoint.WebControls.PostCacheSubstitutionTextType enumeration is used in combination with the Microsoft.SharePoint.WebControls.PostCacheSubstitutionText type to support Post-Cache Substitution within SharePoint. Understanding the use of the PostCacheSubsitutionTextType enumeration is heavily related to the difference between fragment caching, where a small portion of the page is cached, as opposed to Post-Cache Substitution where the entire page is cached, except a

Read All Of This MSDN Community Content: PostCacheSubstitutionTextType

Share