Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Download files to specific folder without browse button

Posted on 2008-06-17
4
Medium Priority
?
881 Views
Last Modified: 2013-12-16
In a .net web site, I want to download a file to a specific location at client system without using Browse button to select the file locaiton.
Basically I want to copy the file from my server to the client in a specific locaiton with out selecting the folder
0
Comment
Question by:dilipsjain
  • 2
4 Comments
 
LVL 14

Expert Comment

by:rachitkohli
ID: 21810279
My.Computer.Network.DownloadFile("http://www.URLtoDownloadFrom.net/file.html", "C:\filename.html")
0
 
LVL 10

Expert Comment

by:athapa
ID: 21811712
I don't think that is possible from the asp.net applications themselves. You could create an ActiveX component which runs in your web application which can take the command to save file and save to whatever location you want. But for this to work, your users needs to give permission to the ActiveX and .Net .  This is ok if your application is internal in your intranet but it could be difficult if your app is used by anyone outside of your network. (doable but you'll get a lot of support calls)
0
 

Author Comment

by:dilipsjain
ID: 21812064
Can I specify the downloading path once the customer tries to download the pertifular file?  Say once the web user click on download the save dialog box will come with the default download path what we want to specify (say c:\mydownloads or something)
0
 
LVL 10

Accepted Solution

by:
athapa earned 1500 total points
ID: 21817303
not directly from the web application
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses
Course of the Month10 days, 16 hours left to enroll

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question