Lines Matching refs:reason
405 FileTransferMsg CreateFileDownloadErrMsg(char* reason, unsigned int reasonLen);
414 char reason[] = "An internal error on the server caused download failure"; in GetFileDownLoadErrMsg() local
415 int reasonLen = strlen(reason); in GetFileDownLoadErrMsg()
419 fileDownloadErrMsg = CreateFileDownloadErrMsg(reason, reasonLen); in GetFileDownLoadErrMsg()
428 char reason[] = "Cannot open file, perhaps it is absent or is a directory"; in GetFileDownloadReadDataErrMsg() local
429 int reasonLen = strlen(reason); in GetFileDownloadReadDataErrMsg()
431 return CreateFileDownloadErrMsg(reason, reasonLen); in GetFileDownloadReadDataErrMsg()
439 char reason [] = "Path length exceeds PATH_MAX (4096) bytes"; in GetFileDownloadLengthErrResponseMsg() local
440 int reasonLen = strlen(reason); in GetFileDownloadLengthErrResponseMsg()
442 return CreateFileDownloadErrMsg(reason, reasonLen); in GetFileDownloadLengthErrResponseMsg()
493 char reason[] = "Cannot open file, perhaps it is absent or is not a regular file"; in ChkFileDownloadErr() local
494 int reasonLen = strlen(reason); in ChkFileDownloadErr()
499 fileDownloadMsg = CreateFileDownloadErrMsg(reason, reasonLen); in ChkFileDownloadErr()
514 CreateFileDownloadErrMsg(char* reason, unsigned int reasonLen) in CreateFileDownloadErrMsg() argument
534 memcpy(pFollow, reason, reasonLen); in CreateFileDownloadErrMsg()
615 FileTransferMsg CreateFileUploadErrMsg(char* reason, unsigned int reasonLen);
620 char reason [] = "Path length exceeds PATH_MAX (4096) bytes"; in GetFileUploadLengthErrResponseMsg() local
621 int reasonLen = strlen(reason); in GetFileUploadLengthErrResponseMsg()
623 return CreateFileUploadErrMsg(reason, reasonLen); in GetFileUploadLengthErrResponseMsg()
638 char reason[] = "Could not create file"; in ChkFileUploadErr() local
639 int reasonLen = strlen(reason); in ChkFileUploadErr()
640 fileUploadErrMsg = CreateFileUploadErrMsg(reason, reasonLen); in ChkFileUploadErr()
652 char reason[] = "Server does not support data compression on upload"; in GetFileUploadCompressedLevelErrMsg() local
653 int reasonLen = strlen(reason); in GetFileUploadCompressedLevelErrMsg()
655 return CreateFileUploadErrMsg(reason, reasonLen); in GetFileUploadCompressedLevelErrMsg()
670 char reason[] = "Error writing file data"; in ChkFileUploadWriteErr() local
671 int reasonLen = strlen(reason); in ChkFileUploadWriteErr()
672 ftm = CreateFileUploadErrMsg(reason, reasonLen); in ChkFileUploadWriteErr()
702 CreateFileUploadErrMsg(char* reason, unsigned int reasonLen) in CreateFileUploadErrMsg() argument
722 memcpy(pFollow, reason, reasonLen); in CreateFileUploadErrMsg()