load images from ftp to asp web page
<p>i have hosted my website on ftp containing folder named photogallery,now what i need to do
is when my page is requested all images from ftp folder photogallery should be display in a sequence.Thanks in advance.</p>

<pre><code>string[] filesindirectory = Directory.GetFiles(Server.MapPath("~/Photogallery"));
List&lt;String&gt; images = new List&lt;string&gt;(filesindirectory.Count());
foreach (string item in filesindirectory)
{
images.Add(String.Format("~/Photogallery/{0}", System.IO.Path.GetFileName(item)));
}
RepeaterImages.DataSource = images;
RepeaterImages.DataBind();
</code></pre>

<p>this is what i have done,but still images are not displaying.</p>
