FTP -- list files in directory

I have found code that allows you to list the files in a directory for use with FTP-ing. The problem is I am not sure what "DirName" is in the code: http://www.java2s.com/Code/CSharp/File-Stream/Changesthecurrentworkingdirectoryandthenliststhefilesinthedirectory.htm

Since I cannot pull the answer to DirName from the args (since I have no args) what would it DirName look like if lets say I want to check out the files on ftp://localhost which is my ftp for my computer

~Lauren




Answer this question

FTP -- list files in directory