Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.7k views
in .NET FTP by (120 points)
Hi,

Im using edtftpnet-1.2.2.dll and I get the following exception using FTPClient.DirDetails(dirname):

DEBUG [EnterpriseDT.Net.Ftp.FTPFileFactory] 3 mar 2006 11:29:24.843 : String was not recognized as a valid DateTime.

INFO [EnterpriseDT.Net.Ftp.FTPFileFactory] 3 mar 2006 11:29:24.843 : Rotated parser to Windows

DEBUG [Principal] 3 mar 2006 11:29:27.828 : String was not recognized as a valid DateTime. : String was not recognized as a valid DateTime.

The format in my ftp server is this:

ftp> dir *.sh
200 PORT command successful.
150 Opening ASCII mode data connection for /usr/bin/ls.
-rwxrwxrwx 1 entr entr 370 29 Ago 2005 xxx.sh
-rwxr-xr-x 1 entr entr 746 5 Jul 2005 yyy.sh
-rwxrwxrwx 1 root sys 663 1 Mar 17:56 zzz.sh
-rwxr-xr-x 1 entr entr 115 18 Oct 08:28 kkk.sh
226 Transfer complete.



any idea?

Thanks in advance

1 Answer

0 votes
by (162k points)
You may need to set the culture (of the server) if it is different to your own locale - see ParsingCulture property.

Categories

...