For now I can get list of files on GMAIL account [via Java program which will work as server for TC plug-in] and show those files in TC, but I have very big problem. When I return information about file via FsFindFirst and FsFindNext TC make something wrong with file attributes.
Small decrpiton:
I get whole list of files on account and send it via socket to TC plug-in, in plug-in when TC calls FsFindFirst I create list of files, and directories which are in specified path, I return first entry, and rest of entries I return in calls of FsFindNext. I set attributres of files, but here I have some problem. TC ignore those values, and use very own, and random

first of all I fill whole Win32FindData by zeros. Next I write file name, file type, and file size [here I do something wrong because now I write only Low part of file size].
Code which is doing it looks like it: [in Delphi]
Move(fileName,Win32FindData.cFileName,StrLen(fileName));
Win32FindData.dwFileAttributes:=fType;
Win32FindData.nFileSizeHigh:=0;
Win32FindData.nFileSizeLow:=fSize;
fType and fSize are Cardinal type, as fType I send FILE_ATTRIBUTE_NORMAL for files and FILE_ATTRIBUTE_DIRECTORY. I don't use any other values of Win32FindData.
Any suggestions?

> Przemysław Rumik - RMK | BuffyPedia: http://www.buffypedia.prv.pl
> | One of the universal rules of happiness is: always be wary of any |
> | helpful item that weighs less than its operating manual. |
> GG: 505188, ICQ: 102808474, WPKontakt: rmk2 | (Terry Pratchett - Jing)