The most common result codes returned by URL Access Manager are listed below.
noErr |
0 | No error |
nsvErr |
-35 | Volume not found |
fnfErr |
-43 | File or directory not found; incomplete pathname |
paramErr |
-50 | Invalid value passed in a parameter. Your application passed an invalid parameter for dialog options. |
dirNFErr |
-120 | Directory not found or incomplete pathname |
kURLInvalidURLReferenceError |
-30770 | Returned by functions that operate on URL references to indicate that a reference is invalid. |
kURLProgressAlreadyDisplayedError |
-30771 | Returned by the functions URLSimpleDownload, URLDownload, URLSimpleUpload, and URLUpload to indicate that a progress indicator is already displayed. |
kURLDestinationExistsError |
-30772 | Returned by the functions URLSimpleUpload and URLUpload to indicate that the destination file already exists. |
kURLInvalidURLError |
-30773 | Returned by functions that operate on URL strings to indicate that the format of the URL is invalid. |
kURLUnsupportedSchemeError |
-30774 | Returned by functions that operate on URL strings to indicate that the transfer protocol is not supported. |
kURLServerBusyError |
-30775 | Indicates a failed data transfer operation. |
kURLAuthenticationError |
-30776 | Returned by URLSimpleDownload, URLDownload, URLSimpleUpload, and URLUpload functions if no authentication dialog box is allowed and the user name and password properties of the URL are set incorrectly or dont exist. |
kURLPropertyNotYetKnownError |
-30777 | Returned by the functions URLGetProperty and URLGetPropertySize to indicate that the value or size of a URL property is not available. |
kURLUnknownPropertyError |
-30778 | Returned by functions URLSetProperty, URLGetProperty, and URLGetPropertySize to indicate that the property is invalid or undefined. |
kURLPropertyBufferTooSmallError |
-30779 | Returned by the function URLGetProperty to indicate that the buffer is too small to receive the requested property. |
kURLUnsettablePropertyError |
-30780 | Returned by the function URLSetProperty to indicate that the property cannot be set. |
kURLInvalidCallError |
-30781 | Returned by the functions URLGetDataAvailable, URLGetBuffer, and URLReleaseBuffer to indicate that the call is invalid. |
kURLFileEmptyError |
-30783 | Indicates a failed data transfer operation. |
kURLExtensionFailureError |
-30785 | Indicates that your extension failed to load. Available in Mac OS 9 and earlier. |
kURLInvalidConfigurationError |
-30786 | Indicates a failed data transfer operation. This is returned when you attempt to upload through an HTTP proxy, since upload through proxies is not supported. |
kURLAccessNotAvailableError |
-30787 | Returned by the function URLGetURLAccessVersion to indicate that the URL Access Manager is not available. |
kURL68kNotSupportedError |
-30788 | Indicates that URL Access Manager was called from within a 68K context. Available in Mac OS 9 and earlier. |
© 2001 Apple Computer, Inc. (Last Updated July 21, 2001)