This commit is contained in:
RCL98 2023-11-11 23:45:10 +02:00
parent 0018a2ab44
commit 0dd51426c1
3 changed files with 4 additions and 3 deletions

2
.gitignore vendored
View File

@ -6,8 +6,6 @@ bash_autocomplete
dist
bin
croc-stdin*
/transfer_folder
/test
.idea/
.vscode/

View File

@ -241,7 +241,7 @@ The relay is needed to staple the parallel incoming and outgoing connections. By
croc relay
```
By default it uses TCP ports 9009-9013. Make sure to open those up. You can customized the ports (e.g. `croc relay --ports 1111,1112`), but you must have a minimum of **2** ports for the relay. The first port is for communication and the subsequent ports are used for the multiplexed data transfer.
By default it uses TCP ports 9009-9013. Make sure to open those up. You can customise the ports (e.g. `croc relay --ports 1111,1112`), but you must have a minimum of **2** ports for the relay. The first port is for communication and the subsequent ports are used for the multiplexed data transfer.
You can send files using your relay by entering `--relay` to change the relay that you are using if you want to custom host your own.

View File

@ -266,6 +266,9 @@ func send(c *cli.Context) (err error) {
if !c.IsSet("hash") {
crocOptions.HashAlgorithm = rememberedOptions.HashAlgorithm
}
if !c.IsSet("git") {
crocOptions.GitIgnore = rememberedOptions.GitIgnore
}
}
var fnames []string