HOW: Display filenames from non-remote directory

Aug 22, 2007 at 12:20 PM
hi,

can anybody tell me how can we retrieve all the file(s) names that are present in a Directory, which is not on the remote host........but is present on the local system and we are using which as the source directory for UPLOADING files to a FTP remote host...

It will be an enormous help,
thanks,
N I T I N R A J O R A
Feb 19, 2010 at 10:32 AM

Hello,

Did you find a solution? i have the same problem, i wanna list the files in a directory, i use GetFiles function but i get an exception because the parser is not working.

What can i do? Thanks!!!

Coordinator
Feb 19, 2010 at 12:25 PM
nitinr708 wrote:
hi,

can anybody tell me how can we retrieve all the file(s) names that are present in a Directory, which is not on the remote host........but is present on the local system and we are using which as the source directory for UPLOADING files to a FTP remote host...

It will be an enormous help,
thanks,
N I T I N R A J O R A

 I doubt anyone answered before because this is about the most basic of tasks in .NET - see the System.IO.DirectoryInfo class