Discuss the FTP protocol, secure FTP, FTP over SSH and FTP over SSL.
no avatar
User

He11razor

Exception at DirDetails(string dirName) function, Chinese

by He11razor » Sat Mar 05, 2005 9:55 am

Hi,

I'm developing a utility for a friend in Taiwan. He has Windows 2000, and his regional settings are set to Chinese Traditional, Chinese (Taiwan). When he calls the DirDetails(string dirName) function, he gets the following exception message:

"String was not recognized as a valid DateTime."

StackTrace:

at System.DateTimeParse.ParseFormatError(Boolean isThrowException, String resourceID)
at System.DateTimeParse.ParseDigits(__DTString str, Int32 digitLen, Boolean isThrowExp, Int32& result)
at System.DateTimeParse.ParseByFormat(__DTString str, __DTString format, ParsingInfo parseInfo, DateTimeFormatInfo dtfi, Boolean isThrowExp, DateTimeResult result)
at System.DateTimeParse.DoStrictParse(String s, String formatParam, DateTimeStyles styles, DateTimeFormatInfo dtfi, Boolean isThrowExp, DateTime& returnValue)
at System.DateTimeParse.ParseExact(String s, String format, DateTimeFormatInfo dtfi, DateTimeStyles style)
at System.DateTime.ParseExact(String s, String format, IFormatProvider provider)
at EnterpriseDT.Net.Ftp.WindowsFileParser.Parse(String raw)
at EnterpriseDT.Net.Ftp.FTPFileFactory.Parse(String[] files)
at EnterpriseDT.Net.Ftp.FTPClient.DirDetails(String dirname)
at queueProcessor.FtpProcessor.batchDownloadXRayImages(Hashtable batchDownloadListHTable) in c:\\documents and settings\\administrator\\my documents\\visual studio projects\\queueprocessor\\ftpprocessor.cs:line 264



Anyway I can get around this?

Thanks!
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Exception at DirDetails(string dirName) function, Chines

by support2 » Sat Mar 05, 2005 7:37 pm


Who is online

Users browsing this forum: No registered users and 20 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron