473,385 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

myWebClient.DownloadFile Question

I'm trying to download a file from the Web Server to the user's
desktop using myWebClient.DownloadFile as described by Microsoft at
http://msdn.microsoft.com/en-us/library/ez801hhe.aspx.

2 Questions:
1.) Is this the best approach?
2.) Is there a way to have the default download location as the
User's Desktop?
Thanks
Oct 17 '08 #1
2 1113
"Dave" <Da**********@jacobs.comwrote in message
news:51**********************************@p10g2000 prf.googlegroups.com...
2.) Is there a way to have the default download location as the User's
Desktop?
I use this: http://www.utechsoft.com/products/udownload/webdemo/
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Oct 17 '08 #2
Thanks...but I'd prefer to do this on my own. You don't learn by
buying someone elses work. If you, or anyone else, can help me with
the questions that I've got outlined I'd appreciate it.
Thanks again


On Oct 17, 9:01*am, "Mark Rae [MVP]" <m...@markNOSPAMrae.netwrote:
"Dave" <Dave.Burk...@jacobs.comwrote in message

news:51**********************************@p10g2000 prf.googlegroups.com...
2.) *Is there a way to have the default download location as the User's
Desktop?

I use this:http://www.utechsoft.com/products/udownload/webdemo/

--
Mark Rae
ASP.NET MVPhttp://www.markrae.net
Oct 17 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: James Write | last post by:
Hi, I am using the webclient.downloadfile() method to download a file from a remote web server to the local harddrive. public CopyFile(string sSrcPath, string sDestPath) { WebClient oClient...
6
by: A.M-SG | last post by:
Hi, I have an aspx page at the web server that provides PDF documents for smart client applications. Here is the code in aspx page that defines content type: Response.ContentType =...
1
by: Cheri Elkin | last post by:
I recieve the following error when attempting to download a file from our web server to be placed on our hard drive. Any clues as to why I would get this error? By the way, the directory already...
8
by: DEWright_CA | last post by:
Why does WebClient.DownloadFile loose my completed path? Ok, I have a function in my app then when my button is clicked it checks to see if the files come from a local drive or a http address....
0
by: Mike Lincoln | last post by:
I am trying to write a program to download files from the Internet, I know using webClient.Downloadfile(RemoteDir + remoteFileName, LocalFileName) can download a singles file, my question is, if...
6
by: Morten Snedker | last post by:
I have this Class: Imports System.Net Public Class DownloadFile Private _webClt As WebClient Private _url As String Private _file As String Sub New(ByVal urlSource As String, ByVal...
2
by: Bill Sempf | last post by:
Hi, all. I have a networking question, really. I have this line of code: my.computer.network.downloadfile("\\1.2.3.4\c$\file.txt", "c:\ifle.txt", "user", "pass") When I run it, I get an...
3
by: Chip | last post by:
Hi, How do I add a required cookie to my WebClient.DownloadFile() request? Chip
8
by: =?Utf-8?B?UnVpIE9saXZlaXJh?= | last post by:
WebClient.DownloadFile I am using the WebClient.DownloadFile function to download a file from server to a local client. When I execute the below code, file is created in server and not in...
1
by: Dave | last post by:
I'm trying to download a file from the Web Server to the user's desktop using myWebClient.DownloadFile as described by Microsoft at http://msdn.microsoft.com/en-us/library/ez801hhe.aspx. 2...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.