rejetto forum

Software => HFS ~ HTTP File Server => Programmers corner => Topic started by: Mars on February 02, 2010, 10:41:12 PM

Title: f.accounts:=folder.accounts;
Post by: Mars on February 02, 2010, 10:41:12 PM
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

Title: Re: f.accounts:=folder.accounts;
Post by: rejetto on February 09, 2010, 05:35:00 PM
mmmmmmmmmm
how did you come to this?
did you face any problem?