|
Hi, i have an FTP Server with a Linux Style Raw List. Normaly there is now Problem, but on this Server, if i make the GetList all Files have NOW as modified DateTime. What is wrong there, does the Parser have Problem? Example Line from RawList -rw-rw-rw- 1 user group 1929 Jun 1 18:02 xyz.zip |
|
It turned out this was caused by a bug in MLST listing parser.
C#:
VB.NET
EDIT This workaround is no longer needed. The fix in included in build 3854 released in summer 2010. |
|
The list parser returns DateTime.Now if there was a problem parsing the date, but that doesn't seem to be the case here. The following code parses the modified date fine using the same parser used by the GetList method:
There might be some additional non-printable characters in the raw listing that cause the problem you describe. In order to determine what is going on, please try calling GetRawList instead of GetList method and send us the result - encode the lines as Base64 to preserve the original content:
Mail us the content of If you prefer VB.NET, please let me know. If I parse it by my own than its working correctly. The parser ist working and I get the right modified time. And I also have send you an email with the Base64 encoding of this directory.
(17 Jun '10, 08:33)
Benjamin
|