Thank you Christopher,
I will look into a Javascript solution.

In the meantime I assigned the file input to a hidden type input and
processed that.  It worked great.

Thanks again,
Jason

On Jan 10, 10:56 am, "Christopher R. Gabriel" <[EMAIL PROTECTED]>
wrote:
> On Thu, 2008-01-10 at 08:49 -0800, sevenseeker wrote:
> > Hello,
> > I have a form with a file type input that when submitted only contains
> > the filename.  How can I ensure the full path is submitted to the
> > script?
>
> > Within the rendered page I can print out the full path name so the
> > value is there before submitting.
>
> You can't with just html with form.
>
> See:http://www.faqs.org/rfcs/rfc1867.html
>
> The browser sends just the "basename" of the path, not the full one.
>
> You need to collect this information in a different way, maybe using
> some js.
>
> Bye,
>
> C.
>
> --
> Christopher R. Gabriel                          Truelite Srl
> [EMAIL PROTECTED] (email/jabber)             Via Monferrato, 
> 6http://www.truelite.it/                        50142 Firenze
> Office. +39-055-7879597 ext. 102                Fax. +39-055-7333336
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to