Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2008

Tip: Looking for answers? Try searching our database.

Using HtmlInputFile to download file by sending filename via URL

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vaquar - 05 Feb 2008 14:59 GMT
Hello,
There are examples available using HtmlInputFile and this controls works
when user clicks the button to select file from client browser.

However, my requirement is to use this control via URL. I want to pass
client's file name via URL and automate download file to server.
Documentation mentions that this is for security reason that you can't
initialize this control. But I just want to confirm this.

Thank you
Coskun SUNALI [MVP] - 05 Feb 2008 15:58 GMT
Hi,

For security purposes, selected file property of file input control is
read-only. You can't just set the path and start taking the files from
client's computer.

If you really want to do that, you may need to develop an ActiveX control
and ask user to install it. It is an another story how to develop ActiveX
controls for browsers.

Signature

All the best,
Coskun SUNALI
MVP ASP/ASP.NET
http://sunali.com
http://www.propeople.dk

> Hello,
> There are examples available using HtmlInputFile and this controls works
[quoted text clipped - 6 lines]
>
> Thank you
Vaquar - 05 Feb 2008 18:39 GMT
Thank you for confirming this and for quick response.

> Hi,
>
[quoted text clipped - 16 lines]
> >
> > Thank you
Coskun SUNALI [MVP] - 05 Feb 2008 19:33 GMT
You are welcome. Please do not hesitate to use the newsgroups whenever you
need help.

Signature

All the best,
Coskun SUNALI
MVP ASP/ASP.NET
http://sunali.com
http://www.propeople.dk

> Thank you for confirming this and for quick response.
>
[quoted text clipped - 19 lines]
>> >
>> > Thank you

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.