rejetto forum

f.accounts:=folder.accounts;

Mars · 2 · 3870

0 Members and 1 Guest are viewing this topic.

Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
was missing when inserting files from disk to the listing:

Quote
        f.size:=0;
        if f.isFile() then
          f.size:=sr.FindData.nFileSizeLow
            +int64(sr.FindData.nFileSizeHigh) shl 32;
        f.mtime:=filetimeToDatetime(sr.FindData.ftLastWriteTime);
        f.accounts:=folder.accounts;         //add by mars
        addToListing(f);
        until (findNext(sr) <> 0) or (conn.state = HCS_DISCONNECTED) or (limit >= 0) and (actualCount >= limit);
    finally findClose(sr) end;
  finally comments.free  end
  end; // includeFilesFromDisk



Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
mmmmmmmmmm
how did you come to this?
did you face any problem?