--write-out
or just -w
for short, outputs text and information after a transfer is completed. It offers a large range of variables that you can include in the output, variables that have been set with values and information from the transfer.%{variable_name}
in the string and that variable will then be substituted by the correct value. To output a normal '%' you just write it as '%%'. You can also output a newline by using '\n', a carriage return with '\r' and a tab space with '\t'.content_type
errormsg
exitcode
filename_effective
--remote-name
or --output
option. It's most useful in combination with the --remote-header-name
option.ftp_entry_path
http_code
response_code
.http_connect
http_version
json
local_ip
local_port
method
num_connects
num_headers
num_redirects
onerror
proxy_ssl_verify_result
redirect_url
-L
to follow redirects.remote_ip
remote_port