TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
tordubey
NA
12
0
file download
Dec 14 2003 5:22 AM
Hi, I'm using webclient in C# ASP.NET project to enable download of files to my web page visitors. However, files get copied to the server rather than the client machine. What could be the problem. Here is the sample that I've used: WebClient myWebClient = new WebClient(); myWebClient.DownloadFile("http://www.myweb.com/testfile.txt" ,"c:/test.txt"); The problem is that the test.txt gets copied to the C:\ drive of the server rather than the client machine.
Reply
Answers (
7
)
Redirecting to a dir on server
Web Forms / C# Applet