Reset Password
Check your e-mail for further instructions.
Reset
Name
file_read
Auth
yes
Description
Tries to read at most count bytes at the current offset of the file.
If currentofset+count<=filesize this method will satisfy the request and read count bytes, otherwise it will return just the bytes available (this is the only way to discover the EOF condition).
You can see how to read data here.
Output
Returns the data.
Required
Parameter | Description |
fd | int the file descriptor, from which data is read |
count | int count in bytes, which to be read from the descriptor |
Errors
Code | Description |
1000 | Log in required. |
1007 | Invalid or closed file descriptor. |
1011 | Please provide 'count'. |
2000 | Log in failed. |
4000 | Too many login tries from this IP address. |
5004 | Read error. Try reopening the file. |