![]() |
FileUpLoad Control - Retrieving full pathname
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 |
Re: FileUpLoad Control - Retrieving full pathname
On 14 Mrz., 16:37, "marathoner" <rajk2...@msn.com.invalid> wrote:
> 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 |
Re: FileUpLoad Control - Retrieving full pathname
On 14 Mrz., 16:37, "marathoner" <rajk2...@msn.com.invalid> wrote:
> 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 |
Re: FileUpLoad Control - Retrieving full pathname
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. -- I hope this helps, Steve C. Orr, MCSD, MVP, CSM, ASPInsider http://SteveOrr.net "marathoner" <rajk2000@msn.com.invalid> wrote in message news:u5DuP6kZHHA.4856@TK2MSFTNGP03.phx.gbl... > 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 > |
| All times are GMT. The time now is 05:57 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.