Solved

Download files to specific folder without browse button

Posted on 2008-06-17
4
868 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 500 total points
ID: 21817303
not directly from the web application
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

747 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now