SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am rendering the fields of a content type in my page. The name field is rendered, and is a Microsoft.SharePoint.WebControls.FileField control. I select a file in this field, and I post the page.

How can I get the posted file of the FileField control in order to save it to SharePoint?

share|improve this question
Did you ever find a solution for this question? If yes, could you post it as an answer? – Kit Menke Jun 10 '11 at 13:53

This is essentially the same as the Stack Overflow question Can a Content Type have a site column of type file? The answer is you can't do this:

a content type either represents a file or it doesn't. You can't have a file as metadata to a content type that does not derive from document.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.