Downloading Files

  • Thread starter Thread starter Greg L.
  • Start date Start date
G

Greg L.

I apologize if this is not the correct group....

Using the system.net namespace I want to download an entire
directory's worth of files. I've been researching furiously and can't
seem to find any examples of this. I'm sure I'm overlooking a simple
way to do it. Thanks

Greg
 
Might be easier if you had an XML file in some directory that listed the
available files.

But in other means....

Are you going to use a webservice?
That might be a good way.

In the webservice, recurse files and folders and return URL's then just loop
through downloading them.

dim folder as new DirectoryInfo(strFolderPath)
dim subfolders as DirectoryInfo=folder.GetDirectories

then loop through them.

Wrox has a Beginning VB.net book that has a similar example...Using a
webservice to get pictures from a folder on the internet

HTH,

Shane
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top