Solved

Download files to specific folder without browse button

Posted on 2008-06-17
4
870 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

Suggested Solutions

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

740 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