Getting a list of files on server

boredtc

New member
Joined
Oct 15, 2008
Messages
1
Programming Experience
Beginner
Dear,

First of all, i'm new to this forum so bear with me :p
I have a question;

I need some kind of an update function for my app that i'm writing in vb.net.
I'd like my app to list the directory contents of an specific server (like: http://www.myserver.com/update/" to let the user choose what file to download (from a listbox).
Is there a way to do this?
I didn't find anything on this issue...

Thanks in advance!

Regards.
 
Welcome to the forum.
You haven't given very many specifics so I will have to make many assumptions.
First, you say update function but I'm not sure why the user would need to select a file to download. There are several methods built in to the framework for updating an application. Clickonce is one, there are others.

I'll assume that the user had no connection to the server other than the typical internet. In this case one solution is to create a webservice that runs on the server with a method that returns the directory contents. Your application would then consume the webservice.

Let us know more specifics...
 
Back
Top