FHREDIR Return Codes

Each call to FHREDIR returns a status code in fcd-file-status in the FCD. Most codes returned are the usual file handling codes. The following codes specific to Fileshare might also be returned:

Code Meaning
-128 Fileshare Security is enabled and the user name specified by the caller is not found in the password file on the server.
-127 The named file is not currently open by the fileshare server. This does not mean that the file does not exist on the disk.
-126 Fileshare Security is enabled and the password given is incorrect.
-125 The requested data is larger than the buffer provided to contain it. Increase the size of your buffer.