Re: [twsocket] (TFtpClient) Parsing list. Help, help.

2010-06-04 Thread newsgate

Thanks for example.

Thanks for Lionel Rault and Anton Sviridov.

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] (TFtpClient) Parsing list. Help, help.

2010-06-03 Thread newsgate

I greet,

Have the problem and need the help.
I several days already fight from ftp the list.

FTP.HostName:='localhost';
...
FTP.Connect;
FTP.Dir;

And it is well. I will show the result.
-rwx-- 1 user group 311521 May 29 07:33 1.jpg
-rwx-- 1 user group 311521 May 29 07:38 2.jpg
drwx-- 1 user group  0 Jun 03 16:13 test1


I can read name the file.
1.jpg is okay.

I can read if this is file or directory.
'd' directory and '-' file is okay.

I can read the size of the file.
FTP.HostFileName:='1.jpg';
if (FTP.Size) then FTP.Size is okay.

I can not read the date of file ' May 29 07:33'
should be '2010-05-29 07:33:00' how do this???
Help please... crazy...


I looked in 'elists.org' but not find.


--
Piotr Nowak
Poland

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be