G
Guest
From my WindowsForms application I am trying to get a list of files from a
web server directory and download them onto my PC. I will not know the
filenames prior to going to the web server directory. Thus, I need to be able
to read the contents of the web server directory to get the filenames or just
download all the files directly.
Does anyone have some sample code which can do the above. I've tried using
WebClient.DownloadFile but it needs to know the filenames in advance which I
do not have.
Many thanks in advance.
web server directory and download them onto my PC. I will not know the
filenames prior to going to the web server directory. Thus, I need to be able
to read the contents of the web server directory to get the filenames or just
download all the files directly.
Does anyone have some sample code which can do the above. I've tried using
WebClient.DownloadFile but it needs to know the filenames in advance which I
do not have.
Many thanks in advance.