When I use the FileUpLoadControl to select a file, I can only retrieve the
filename that was selected. I want to know how to retrieve the full
pathname of the filename selected.
Marathoner
Yvonne - 15 Mar 2007 20:22 GMT
> When I use the FileUpLoadControl to select a file, I can only retrieve the
> filename that was selected. I want to know how to retrieve the full
> pathname of the filename selected.
>
> Marathoner
Hy,
Why do you need the path? The filecontent is in the PostedFile
property and the filename in the Filename property.
Kind regards, Shiny
Yvonne - 15 Mar 2007 20:25 GMT
> When I use the FileUpLoadControl to select a file, I can only retrieve the
> filename that was selected. I want to know how to retrieve the full
> pathname of the filename selected.
>
> Marathoner
Hy,
Why do you need the path? You have the content of the file in your
FileUploadControl and you can get it if you call SaveAs.
Kind regards, Shiny
Steve C. Orr [MCSD, MVP, CSM, ASP Insider] - 22 Mar 2007 04:18 GMT
Browser security prevents servers from inspecting a users hard drive. Would
you want any old web site poking its way around your personal files?
If you really must do something like that then you'd need to create an
ActiveX control.

Signature
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
> When I use the FileUpLoadControl to select a file, I can only retrieve the
> filename that was selected. I want to know how to retrieve the full
> pathname of the filename selected.
>
> Marathoner