Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
553 views

SPFile Update fails, Exists returns true

I have a block of code wrapped in an if: mySite.AllowUnsafeUpdates(); SPFile mySPFile = web.GetFile(someURL); if (mySPFile.Exists) /*returns true, enters code block*/ { //... make some updates ...
sq33G's user avatar
  • 101