File Exists

Sep 21, 2012 at 2:44 PM

This bit of code ----

' need an instance of the folder where the file lives in most cases
Dim oFolder As IFolderInfo = FolderManager.Instance().GetFolder(PortalId, "/FolderPath")
If FileManager.Instance().FileExists(oFolder, strThumbnail) Then
' do something
End if

returns a null for the folder no mater what project I try it in (6.2 and up) 

I think it might be the folder path - can you give me more information on what the folder path has to be - is it relative? what about finding file in portal root?


Thanks if you can answer this

Sep 28, 2012 at 2:32 AM

Is this an issue you found in the module, or just an API question?