By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,366 Members | 1,366 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,366 IT Pros & Developers. It's quick & easy.

Downloading Files

P: n/a
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
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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

"Greg L." <gr***@lanproinc.com> wrote in message
news:26**************************@posting.google.c om...
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

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.