IsURL Method

Validates a given URL.

See Also | Example

Signature

RetVal = object.IsURL(URL)

Object

Utility
The object or objects this method applies to.

LocalFile

String; input-only
The URL to validate.

RetVal

Boolean

TRUE: The string represents a valid URL.

FALSE: The string is not a valid URL.

Remarks

The definition of a "valid" URL is application-dependent, in that a given third-party application may not be interested in supporting all Internet protocols. For instance, an application that attempts to connect users to websites would probably not need to provide access to FTP sites. In this hypothetical application, a FALSE value would be returned if a URL that begins with something other than "http://" was entered.

The default functionality of this method for AutoCAD supports FTP, HTTP, HTTPS, and FILE protocols.

 

   Comments? 
500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@entercad.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.