Groups | Blog | Home
all groups > asp.net > october 2006 >

asp.net : How to read FTP folder contents names without downloading them using Asp.net 1.1


ankita
10/31/2006 11:13:56 PM
Hello,
i am using Asp.net application to read contents of FTP folder. I
just want to have names of all folders/files that are inside FTP
directory. So for that i don't want to download any contents from that
FTP , i just need to read it.For e.g. if i want to read names of all
folders/files from this url:

ftp://mediaftp.wiley.com/public/ link how can i do this.
Can anyone please throw some light on this how it's possible?

Thanks in advance for any suggestions in this issue.
Ankita
sloan
11/3/2006 3:35:53 PM
See
http://www.codeproject.com/cs/internet/ftplib.asp


/// <summary>
/// Gets a file list only
/// </summary>
/// <returns>ArrayList of files only</returns>
public ArrayList ListFiles()
{
}

This is for 1.1


[quoted text, click to view]

san
11/6/2006 9:23:09 PM
Thanks a lot for your suggestion. That was quite useful.

-Ankita

[quoted text, click to view]
AddThis Social Bookmark Button