({{, (RefLink[URL, paclet:ref/URL])["url"]
is a symbolic representation of a URL.}})

OpenersNotesSection(Spacer1)Details

In (RefLink[URL, paclet:ref/URL])["url"], "url" can be any kind of URL. Supported URL schemes include:

In (RefLink[URL, paclet:ref/URL])["url"], the resource referred to by url does not need to exist or be accessible.

(RefLink[Information, paclet:ref/Information]) for a (RefLink[URL, paclet:ref/URL]) may include the following properties:

OpenersPrimaryExamplesSection(Spacer1)Examples  (5)

OpenersExampleSection0(Spacer1)Basic Examples  (2)

Get a textual snippet from the Wolfram website:

Snippet[URL["http://www.wolfram.com"]]

Without the (RefLink[URL, paclet:ref/URL]) wrapper, the string itself will be used as data:

Snippet["http://www.wolfram.com"]

Formatting of a (RefLink[URL, paclet:ref/URL]) object:

URL["http://www.wolfram.com"]

OpenersExampleSection1(Spacer1)Scope  (3)

A (RefLink[URL, paclet:ref/URL]) object need not refer to an existing or reachable resource:

URL["http://www.invalid."]

A (RefLink[URL, paclet:ref/URL]) object can refer to any supported protocol:

CopyFile["test.m",URL["scp://server.example.com/tmp"]]

Specify a username in the protocol:

CopyFile[URL["sftp://user@host.example.com/tmp/test.m"],CreateFile[]]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[URLRead, paclet:ref/URLRead])  ▪  (RefLink[URLExecute, paclet:ref/URLExecute])  ▪  (RefLink[URLParse, paclet:ref/URLParse])  ▪  (RefLink[URLBuild, paclet:ref/URLBuild])  ▪  (RefLink[Hyperlink, paclet:ref/Hyperlink])  ▪  (RefLink[CloudObject, paclet:ref/CloudObject])  ▪  (RefLink[File, paclet:ref/File])  ▪  (RefLink[CopyFile, paclet:ref/CopyFile])  ▪  (RefLink[RemoteFile, paclet:ref/RemoteFile])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[File Operations, paclet:guide/FileOperations])}, {▪(RefLinkPlain[Files, paclet:guide/Files])}, {▪(RefLinkPlain[URL Manipulation, paclet:guide/URLManipulation])}, {▪(RefLinkPlain[Network Programming, paclet:guide/NetworkProgramming])}})}})