![]() The -o or -output option allows you to give the downloaded file a different name. Let us try to download a file from and save it as output.pdf Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftpįeatures: alt-svc AsynchDNS brotli HSTS HTTP2 HTTPS-proxy IPv6 Largefile libz NTLM NTLM_WB SSL TLS-SRP UnixSockets Downloading file with curl $ sudo zypper install curl Verify installation by displaying curl version # OpenSUSE Linux users try zypper command # # Fedora/CentOS/RHEL users try dnf command/ yum command # # Debian/Ubuntu Linux use the apt command/ apt-get command # Installing curl on Linux or Unixīy default curl is installed on many Linux distros and Unix-like systems. Let us see some examples and usage about the curl to download and upload file on Linux or Unix-like systems. Follow a 301-redirected file while downloading file with curl, run: $ curl -L -o file.tgz. ![]() You can set the output file name while downloading file with the curl, execute: $ curl -o file.pdf.Get file using ftp or sftp protocol: $ curl ftp://ftp-your-domain-name/.
0 Comments
Leave a Reply. |