{"action":"created","issue":{"url":"https://api.github.com/repos/DeCoRawr/NFSClient/issues/2","labels_url":"https://api.github.com/repos/DeCoRawr/NFSClient/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/DeCoRawr/NFSClient/issues/2/comments","events_url":"https://api.github.com/repos/DeCoRawr/NFSClient/issues/2/events","html_url":"https://github.com/DeCoRawr/NFSClient/issues/2","id":116588959,"number":2,"title":"Using READDIRPLUS","user":{"login":"roman-himmelreich-sp","id":15210068,"avatar_url":"https://avatars.githubusercontent.com/u/15210068?v=3","gravatar_id":"","url":"https://api.github.com/users/roman-himmelreich-sp","html_url":"https://github.com/roman-himmelreich-sp","followers_url":"https://api.github.com/users/roman-himmelreich-sp/followers","following_url":"https://api.github.com/users/roman-himmelreich-sp/following{/other_user}","gists_url":"https://api.github.com/users/roman-himmelreich-sp/gists{/gist_id}","starred_url":"https://api.github.com/users/roman-himmelreich-sp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roman-himmelreich-sp/subscriptions","organizations_url":"https://api.github.com/users/roman-himmelreich-sp/orgs","repos_url":"https://api.github.com/users/roman-himmelreich-sp/repos","events_url":"https://api.github.com/users/roman-himmelreich-sp/events{/privacy}","received_events_url":"https://api.github.com/users/roman-himmelreich-sp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-12T16:42:56Z","updated_at":"2016-01-09T17:41:20Z","closed_at":null,"body":"Hi,\r\nThere are two functions which list folder items: READDIR and READDIRPLUS Basically, READDIR only returns paths, READDIRPLUS returnes all other attributes.\r\nWhen calling READDIRPLUS, there are two extra paramters that I can't understand how to use:\r\n\r\ndircount \r\nThe maximum number of bytes of directory information to be returned. This number does not include the size of the attributes and file handle portions of the result.\r\nmaxcount \r\nThe maximum size of the READDIRPLUS3resok structure, in bytes. The size must include all XDR overhead. The server may return fewer than maxcount bytes of data. \r\n\r\nNo matter what I try, I can't seem to get it right.\r\nDid anybody ever call this function succesfully?"},"comment":{"url":"https://api.github.com/repos/DeCoRawr/NFSClient/issues/comments/170264121","html_url":"https://github.com/DeCoRawr/NFSClient/issues/2#issuecomment-170264121","issue_url":"https://api.github.com/repos/DeCoRawr/NFSClient/issues/2","id":170264121,"user":{"login":"DeCoRawr","id":3869853,"avatar_url":"https://avatars.githubusercontent.com/u/3869853?v=3","gravatar_id":"","url":"https://api.github.com/users/DeCoRawr","html_url":"https://github.com/DeCoRawr","followers_url":"https://api.github.com/users/DeCoRawr/followers","following_url":"https://api.github.com/users/DeCoRawr/following{/other_user}","gists_url":"https://api.github.com/users/DeCoRawr/gists{/gist_id}","starred_url":"https://api.github.com/users/DeCoRawr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeCoRawr/subscriptions","organizations_url":"https://api.github.com/users/DeCoRawr/orgs","repos_url":"https://api.github.com/users/DeCoRawr/repos","events_url":"https://api.github.com/users/DeCoRawr/events{/privacy}","received_events_url":"https://api.github.com/users/DeCoRawr/received_events","type":"User","site_admin":false},"created_at":"2016-01-09T17:41:20Z","updated_at":"2016-01-09T17:41:20Z","body":"I added you as contributor so you can push the changes now.\n\nThanks for everything.\n\nDeCoRawr\n\n2015-12-27 9:53 GMT+01:00 roman-himmelreich-sp <notifications@github.com>:\n\n> Hi,\n>\n>\n> I made a few changes to make the MainForm work with READDIR_PLUS too\n>\n> so it doesn't need to issue a seperate request for the attributes of each\n> file\n>\n>\n> I would like to push the changes to git so you can see them\n>\n> but I have no permissions\n>\n> how does this work? is there some way I can publish this for you to see?\n>\n>\n>\n>\n> From: DeCoRawr <notifications@github.com>\n>\n> Sent: Tuesday, December 8, 2015 7:35 PM\n> To: DeCoRawr/NFSClient\n> Cc: Roman Himmelreich\n> Subject: Re: [NFSClient] Using READDIRPLUS (#2)\n>\n> uf i totaly forgot about this. :S\n>\n> could you tell me where was this boolean missing ?\n>\n>\n>\n> 2015-12-08 18:11 GMT+01:00 roman-himmelreich-sp <notifications@github.com\n> >:\n>\n> > Hi,\n> >\n> >\n> > Eventually I found the problem,\n> >\n> > You were missing one Boolean read from the XDR stream\n> >\n> > and then the other read attempts were out of sync and everything failed.\n> >\n> >\n> > READDIRPLUS gives you the contents of a folder with item attributes - in\n> > one call.\n> >\n> >\n> > thanks for the source, it was really helpful!\n> >\n> >\n> > ________________________________\n> > From: DeCoRawr <notifications@github.com>\n> > Sent: Thursday, November 12, 2015 8:19 PM\n> > To: DeCoRawr/NFSClient\n> > Cc: Roman Himmelreich\n> > Subject: Re: [NFSClient] Using READDIRPLUS (#2)\n> >\n> > Hi,\n> >\n> > well it's been 2 years from active delevoplent of the client.\n> >\n> > Why do you need the READDIRPLUS implementation ?\n> >\n> > I rly don't remember what are the correct attributes now.\n> >\n> >\n> >\n> > 2015-11-12 17:42 GMT+01:00 roman-himmelreich-sp <\n> notifications@github.com\n> > >:\n> >\n> > > Hi,\n> > > There are two functions which list folder items: READDIR and\n> READDIRPLUS\n> > > Basically, READDIR only returns paths, READDIRPLUS returnes all other\n> > > attributes.\n> > > When calling READDIRPLUS, there are two extra paramters that I can't\n> > > understand how to use:\n> > >\n> > > dircount\n> > > The maximum number of bytes of directory information to be returned.\n> This\n> > > number does not include the size of the attributes and file handle\n> > portions\n> > > of the result.\n> > > maxcount\n> > > The maximum size of the READDIRPLUS3resok structure, in bytes. The size\n> > > must include all XDR overhead. The server may return fewer than\n> maxcount\n> > > bytes of data.\n> > >\n> > > No matter what I try, I can't seem to get it right.\n> > > Did anybody ever call this function succesfully?\n> > >\n> > > -\n> > > Reply to this email directly or view it on GitHub\n> > > <https://github.com/DeCoRawr/NFSClient/issues/2>.\n> > >\n> >\n> > -\n> > Reply to this email directly or view it on GitHub<\n> > https://github.com/DeCoRawr/NFSClient/issues/2#issuecomment-156189553>.\n> >\n> > -\n> > Reply to this email directly or view it on GitHub\n> > <https://github.com/DeCoRawr/NFSClient/issues/2#issuecomment-162948219>.\n> >\n>\n> -\n> Reply to this email directly or view it on GitHub<\n> https://github.com/DeCoRawr/NFSClient/issues/2#issuecomment-162955175>.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/DeCoRawr/NFSClient/issues/2#issuecomment-167395066>.\n>\n"}}