This project is read-only.

doDateTimeStamp Exception

Mar 28, 2007 at 5:40 PM
When I call client.ListDirectoryDetail(directory, true); it throws an exception:

System.Net.WebException: The requested URI is invalid for this FTP command.

If I call client.ListDirectoryDetail(directory), everything works fine.
Mar 30, 2007 at 2:46 PM
My app throws the same exception. I just only added true or false as a new parameter in ListDirectory function.

We do need to do something else?
Apr 2, 2007 at 11:19 AM
Last week I downloaded the source code (it's only available the 1.0 version of source code... is it correct?)

well, I have detected where the exception is thrown. When the app calls the function ListDirectory(directory,true), it tries to retrieve the datetime of all files placed in, including "." and ".." files. Of course, it fails.
Apr 4, 2007 at 9:21 AM
This discussion has been copied to Work Item 1588. You may wish to continue further discussion there.