Solved

Download files to specific folder without browse button

Posted on 2008-06-17
4
872 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem to Office 1 67
Office 365: Assigning MailboxPlan to a mailbox 8 72
CSS styling problem 3 28
Help with modifying xml file using VB.NET 5 8
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
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…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

738 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