SAKEFileResult

GameSpy SDK

SAKEFileResult

Used to determine the status of a file uploaded to Sake.

typedef enum 
{
SAKEFileResult_SUCCESS,    
SAKEFileResult_BAD_HTTP_METHOD,    
SAKEFileResult_BAD_FILE_COUNT,    
SAKEFileResult_MISSING_PARAMETER,    
SAKEFileResult_FILE_NOT_FOUND,    
SAKEFileResult_FILE_TOO_LARGE,    
SAKEFileResult_SERVER_ERROR,    
SAKEFileResult_UNKNOWN_ERROR    
} SAKEFileResult;

Constants

SAKEFileResult_SUCCESS
Upload succeeded.
SAKEFileResult_BAD_HTTP_METHOD
Incorrect ghttp call used to upload file.
SAKEFileResult_BAD_FILE_COUNT
Number of files uploaded is incorrect.
SAKEFileResult_MISSING_PARAMETER
Missing parameter in the ghttp upload call.
SAKEFileResult_FILE_NOT_FOUND
No file was found.
SAKEFileResult_FILE_TOO_LARGE
File uploaded larger than the specified size.
SAKEFileResult_SERVER_ERROR
Unknown error occurred on the server when processing this request.
SAKEFileResult_UNKNOWN_ERROR
Error is unknown - used if none of the above.

Section Reference: Gamespy Sake SDK

See Also: sakeGetFileResultFromHeaders