Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. How to download folder from Web Server

How to download folder from Web Server

Scheduled Pinned Locked Moved C#
tutorialsysadmin
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    himuskanhere
    wrote on last edited by
    #1

    Hello Friends My application wants to download Folder(folder and sub folders with files) from Web Server using HTTP. Can guide me to do this. Downloading from FTP is done, for that I have used FtpwebRequest and FtpWebResponse... But how to download using HttpWebRequest... I have able to download a file from WebServer but I want to download a folder and files. Thanks in advance... :rolleyes:

    N 1 Reply Last reply
    0
    • H himuskanhere

      Hello Friends My application wants to download Folder(folder and sub folders with files) from Web Server using HTTP. Can guide me to do this. Downloading from FTP is done, for that I have used FtpwebRequest and FtpWebResponse... But how to download using HttpWebRequest... I have able to download a file from WebServer but I want to download a folder and files. Thanks in advance... :rolleyes:

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      You don't download folders. You have to create them, download files and put into the created folder. Of course, a recursive function is required which can travel through the directories and sub directories.

      Navaneeth How to use google | Ask smart questions

      H 1 Reply Last reply
      0
      • N N a v a n e e t h

        You don't download folders. You have to create them, download files and put into the created folder. Of course, a recursive function is required which can travel through the directories and sub directories.

        Navaneeth How to use google | Ask smart questions

        H Offline
        H Offline
        himuskanhere
        wrote on last edited by
        #3

        Ok..but how to get list of files and folders available on WebServer. like FTP we can get list of Directories and files using "WebRequestMethods.Ftp.ListDirectory :omg: ;"

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups