1

curl

URLS


# General

CommandInputDescription
Upload File(s)Transfer the specified local file(s) to the remote URL. More Info
RetriesNumber of times to retry a transfer. Default: 0. More Info
Retry DelayAmount of time to wait before each retry when a transfer fails. Default is retry rate will increase exponentially. More Info
Limit RateSpecify the maximum transfer rate you want curl to use for downloads and uploads. 'k' or 'K' = kilobytes, 'm' or 'M' = megabytes, 'g' or 'G' = gigabytes. More Info
New! RateSpecify the maximum [NUMBER] of transfers per [TIME UNIT]. 's' = second, 'm' = minute, 'h' = hour, 'd' = day. More Info
ContinueResume the transfer of a previous file. More Info
Insecure ConnectionAllows curl to make a connection to servers considered insecure. More Info
Insecure DoH ConnectionAllows curl to operate even for DoH connections considered insecure. More Info
Progress BarDisplay a simple progress bar instead of the standard progress meter. More Info
UsernameSpecify the user name to use for server authentication. Password will be asked. More Info

# Download

CommandInputDescription
No ClobberingAvoid overwriting files that already exist. Instead, a dot and a number gets appended to the name of the file that would be created. More Info
Remove On ErrorRemoves partially downloaded file when an error occurs. More Info
Save to FileSave output to file. If using {} or [] to fetch multiple documents, you should quote the URL and you can use '#' followed by a number in the [FILE] name. More Info
Create Save DirectoriesCreates directories mentioned in the Save to File option. Must be used with Save to File. More Info
Save File as Remote NameSave output to a local file named after the remote file name. More Info
Max File SizeSpecify the maximum size ([BYTES]) of a file to download. 'k' or 'K' = kilobytes, 'm' or 'M' = megabytes, 'g' or 'G' = gigabytes. More Info
RangeRetrieve a [BYTE RANGE] from an HTTP/1.1, FTP, or SFTP server or a local FILE. More Info

# HTTP

CommandInputDescription
POST DataSends the specified data in a POST request to the HTTP server. Can use @filename to post a file. Book Ref | More Info
POST Data BinaryPosts data exactly as is without extra processing whatsoever. Can use @filename to post a file. More Info
Custom RequestSpecifies a custom request method to use when communicating with the HTTP server. This option only changes the word used in the HTTP request. More Info
CompressedRequest a compressed response, and automatically decompress the content. More Info
Keep Options after RedirectIf redirected to a different location, this option will redo the request on the new place. More Info
Max RedirectsMaximum number of redirection-followings allowed. More Info
Add HeaderExtra header to include in the request over HTTP. Use | to indicate another header to add. Book Ref | More Info
User-AgentSpecify the User-Agent string to use. More Info
Ignore Content-Length HeaderIgnore the Content-Length header. More Info
CookiesRead cookies from a file. Book Ref | More Info
Save CookiesSpecify file to write all cookies after a completed operation. Book Ref | More Info
Reset CookiesThis will discard all cookies from a previous session, starting a new cookie session. Book Ref | More Info
ProxyUse the specified proxy. More Info
Proxy UsernameSpecify the user name and password to use for proxy authentication. Password will be asked. More Info

# Protocols

CommandInputDescription
Create Save DirectoriesCreates directories mentioned in the Save to File option. [FTP, SFTP]. More Info
Name-Only ListingForces a name-only directory view. [FTP, POP3]. More Info
Mail RecipientThe email address of the recipient to send mail to. [SMTP]. Book Ref | More Info
Mail SenderThe email address of the sender. Usually yours. [SMTP]. Book Ref | More Info
Create Remote DirectoriesCreate remote directories along a path if none exists. [FTP, SFTP]. More Info
Try SSL ConnectionTry to use SSL/TLS for the connection. Reverts to non-secure connection if server doesn't support SSL/TLS. [FTP, IMAP, POP3, SMTP]. More Info
Require SSL ConnectionRequire SSL/TLS for the connection. Terminates connection if server doesn't support SSL/TLS. [FTP, IMAP, POP3, SMTP]. More Info
Create File ModeWhen creating a file remotely, set the permission(s) of the file using octal notation. Default: 0644. [SFTP, SCP, FILE]. More Info