November Happy Hour will be moved to Thursday December 5th.

Saving to UnifiedFile Summary properties

Vote:
 
Hi there, I'm saving a file to the UnifiedFileSystem as outlined in SDK. I'd like to add some data to the file meta-data, but whatever I add seems to not be saved. UnifiedDirectory dir = UnifiedFileSystem.GetDirectory("/upload"); UnifiedFile file = dir.CreateFile("Myfile.txt"); file.Summary.Author = "Test"; Stream s = file.OpenWrite(); StreamWriter w = new StreamWriter(s); w.WriteLine("Hello world!"); w.Close(); s.Close(); Should i be doing this some other way? Regards, Ben Empson
#12569
Mar 30, 2006 19:13
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.