-
-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- moved it from "downloads" to "transfer control" - made that section generic about compression and link to the HTTP one - create a new HTTP compression page under custom HTTP Closes #486
- Loading branch information
Showing
6 changed files
with
31 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Compression | ||
|
||
Automatic compression of data before it gets sent can help getting the data to | ||
the other end faster due to the reduced bandwidth needed. | ||
|
||
curl offers automatic compression and decompression for SFTP, SCP and HTTP(S). | ||
With HTTP(S) it is only possible to do it for downloads, while SFTP and SCP | ||
offer it for both directions. | ||
|
||
## For HTTP | ||
|
||
See [HTTP compression](../../http/modify/compression.md) for the details. | ||
|
||
## For SFTP/SCP | ||
|
||
Provide the `--compressed-ssh` option on the command line and the transfer | ||
will automatically and transparently use compression if it can. Like: | ||
|
||
curl -O --compressed-ssh sftp://example.com/bigfile |