What is the 2nd textbox for on the Files page?

Dec 12, 2008 at 12:09 AM
The Admin/Files view has the following 2 text controls on it:


<div><input type="file" name="file" /></div>
<div><%=Html.TextBox("path") %></div>



What is the second text control for?
Coordinator
Dec 12, 2008 at 6:20 AM
You found a page that we never got around to finishing (yet).  Good job.  ;)  I was just using it to make sure uploading files worked.

That field is currently incorrectly named, but it is the extra path you want the file to go in.  Example:  Upload a file called "ToDo.txt" and leave the path field blank.  The path will end up being /Users/{username}/ToDo.txt.  If you add a value of Test/Testing into the path field, the file will end up being located at /Users/{username}/Test/Testing/ToDo.txt

We'll get around to actually finishing that page at some point.  :)