-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cdf314b
commit d8f8957
Showing
1 changed file
with
7 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -189,7 +189,7 @@ The aspera binary is at `~/.aspera/connect/bin/ascp` and the key is at `~/.asper | |
[fangping@login0b aspera]$ ~/.aspera/connect/bin/ascp -QT -l 300m -P33001 -i ~/.aspera/connect/etc/asperaweb_id_dsa.openssh [email protected]:/vol1/fastq/SRR949/SRR949627/SRR949627_1.fastq.gz . | ||
``` | ||
|
||
## Use Wget or Curl to Download Files | ||
### Use wget or curl to Download Files | ||
|
||
wget is a networking command-line tool that lets you download files. It supports the HTTP,HTTPS, FTP, and FTPS internet protocols. | ||
|
||
|
@@ -202,11 +202,16 @@ The equivalent curl command is: | |
curl https://what.ever | ||
|
||
The file will keep the name embedded in the url. | ||
You can specify a destination name with curl -o newname https://what.ever or wget -O newname https://what.ever. | ||
You can specify a destination name. | ||
|
||
curl -o newname https://what.ever | ||
|
||
wget -O newname https://what.ever. | ||
|
||
If your url includes specific characters, such as ?, you can put the full url in single quotes to prevent the shell from mangling these characters. | ||
|
||
wget -O newname 'https://what.ever?userId=id&Credential=password’ | ||
|
||
curl -o newname 'https://what.ever?userId=id&Credential=password’ | ||
|
||
|
||
|