On Thu, Jan 27, 2011 at 5:30 PM, hank23 <hversem...@stchas.edu> wrote:

> I have a file upload screen coded and working, whenever I enter all of
> the data (original file selected from the browse button; as well as
> target file path and name entered in a separate textbox) at one time.
> But when I leave the destination file field blank after selecting the
> original file an error is returned saying the destination field needs
> to be input, however when that error is returned to the screen the
> file previously selected using the file field and browse button, is
> not being returned with it. Why is my original file being dropped?
>

It's a browser security measure. Browsers will not allow a web-server to
specify an initial value for a file input field, since that could lead to
malicious servers easily tricking people into uploading sensitive
information from their machines.

Karen
-- 
http://tracey.org/kmt/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to