

For example, the command that utilizes the -O, -L, and -v options can be written as: curl -OLv If they do not require additional values, the single-dash options can be written together. Trivial File Transfer Protocol, used for uploading or downloading files to or from a remote host.Ĭurl accepts a wide array of options, which makes it an extremely versatile command. SMTPS is the version of the same protocol with an added SSL/TLS security layer.Īn application layer protocol for bidirectional interactive text-oriented communication. Simple Mail Transfer Protocol - an email protocol for easy transmission of email. SMBS is the version of the same protocol with an added SSL/TLS security layer. Server Message Block - a protocol for managing shared access to files and computer peripherals. SSH File Transfer Protocol - a version of the File Transfer Protocol using the SSH connection. Secure Copy - a protocol for copying files to and from an SSH server. Real Time Streaming Protocol, used for streaming media servers management. Real-Time Messaging Protocol - a streaming protocol for audio, video, and other data. POP3S is the version of the same protocol with an added SSL/TLS security layer.

Post Office Protocol version 3 - a protocol for email retrieval from a server. Message Queuing Telemetry Transport - a protocol for data exchange between small devices, usually IoT systems. LDAPS is the version of the same protocol with an added SSL/TLS security layer. Lightweight Directory Access Protocol, used for distributed directory information access and management. IMAPS is the version of the same protocol with an added SSL/TLS security layer. Internet Message Access Protocol, used for email access and management. HTTPS is the version of the same protocol with an added SSL/TLS security layer. Hypertext Transfer Protocol, used for web and internet data transfer. GOPHERS is the version of the same protocol with an added SSL/TLS security layer. FTPS is the version of the same protocol with an added SSL/TLS security layer.Īn old protocol for searching, retrieving, and distributing internet documents, a precursor of HTTP. ProtocolĪ dictionary network protocol for querying dictionary servers about the meanings of words.Ī URL scheme for obtaining a file from the local file system using curl.įile Transfer Protocol, used for file transfers between clients and servers. While nested sequences are not supported, multiple sequences are allowed: /vol/part.html curl ProtocolsĬurl supports numerous protocols for data transfer.
#Curl works but when assigned to variable in script it hands series
Multiple URLs that differ in one part are written together using braces: Alphanumeric series are written with brackets. The syntax of URLs that are part of the command depends on the protocol.
