Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / September 2007

Tip: Looking for answers? Try searching our database.

web app downloading a file

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
roundcrisis - 13 Sep 2007 18:04 GMT
hi:

i have a small web app that uploads some files, and now i want to be
able to download them, basically i have a full path of the file, i
been googling but i dont seem to find an example of this
thanks

f
Ignacio Machin ( .NET/ C# MVP ) - 13 Sep 2007 18:25 GMT
Hi,

HttpWebRequest & WebClient will send you ni the right direction

Note that you will need the web path (not the physical one)

> hi:
>
[quoted text clipped - 4 lines]
>
> f
roundcrisis - 14 Sep 2007 08:56 GMT
On Sep 13, 6:25 pm, "Ignacio Machin \( .NET/ C# MVP \)" <machin TA
laceupsolutions.com> wrote:
> Hi,
>
[quoted text clipped - 12 lines]
>
> - Show quoted text -

what if I dont have a web path?
Ignacio Machin ( .NET/ C# MVP ) - 14 Sep 2007 14:44 GMT
Hi,

> On Sep 13, 6:25 pm, "Ignacio Machin \( .NET/ C# MVP \)" <machin TA
> laceupsolutions.com> wrote:
[quoted text clipped - 16 lines]
>
> what if I dont have a web path?

You have to.
You will have to make the upload directory accesible (like a virtual dir) to
be able to downloat from there.
Nicholas Paldino [.NET/C# MVP] - 13 Sep 2007 18:28 GMT
f,

   You can use the WebClient class or the HttpWebRequest/HttpWebResponse
classes in the System.Net namespace to download files (from what I assume is
a website).

Signature

         - Nicholas Paldino [.NET/C# MVP]
         - mvp@spam.guard.caspershouse.com

> hi:
>
[quoted text clipped - 4 lines]
>
> f

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.