Comments (9)
how are you measuring the download speed?
from croc.
I don't. I'm observing the speed and remaining time output of croc at the sending side.
from croc.
The observed speed and remaining time output of croc is related to the original bytes transferred, which is not the same as the bandwidth usage, because of compression.
from croc.
I'm transferring a 7z archive, maximum compression. So croc's internal compression has nothing to further compress. So original bytes = bandwith usage, right?
One added observation: --throttleUpload has an effect, but an unintended one. It reliably and reproducibly delays the start of the file transfer
- --throttleUpload 50000k -> transfer starts after ca. 3 seconds
- --throttleUpload 5000k -> transfer starts after ca. 30 seconds
- --throttleUpload 500k -> transfer starts after around 6 minutes
(all times after FILENAME 0% | | ( 0 B/14 GB) [0s:0s]
is displayed)
After the download has started, the bandwith usage is always equal to without using --throttleUpload
- croc send run on a Windows 10 PC
- croc receive (why does this command not exist?) runs on a Linux Mint PC
from croc.
sounds like a bug then, will happily take a pr.
croc receive (why does this command not exist?)
croc receive
does not exist, because, on Windows, you can then receive a file just by double-clicking the croc executable (because receiving requires no command line arguments for basic case).
from croc.
sounds like a bug then, will happily take a pr.
O well, that is way outside my very humble abilities unfortunately.
croc receive (why does this command not exist?)
croc receive
does not exist, because, on Windows, you can then receive a file just by double-clicking the croc executable (because receiving requires no command line arguments for basic case).
You could keep current behaviour and add a (functionalitywise superfluous) receive command. That would make it a cleaner user interface (one command for every usage scenario) and self explanatory command lines.
from croc.
You could keep current behaviour and add a (functionalitywise superfluous) receive command.
happy to accept a pr
from croc.
I believe the invalid throttling is related to this line
rt = rate.Every(time.Second / (4 * time.Duration(uploadLimit)))
After removing the 4 * part, the upload speed seems to be as expected. However, I am unsure why the 4 * was included initially.
from croc.
perfect, submit a PR and I can include it in the next release
from croc.
Related Issues (20)
- Cannot send and receive from Android Termux HOT 10
- Room not ready on any send HOT 1
- Compile 32-bit ARM build with lesser FPU requirements for compatibility with old Raspberry Pi units HOT 3
- There is something with the 10.0.10 win64 zip-file. If I download it, my PC delete it, I cant even unzip it. Virus? HOT 2
- [Question]: Is it possible to show the connection mechanism? HOT 2
- croc --classic Yes/no prompt default is backwards HOT 1
- Preserves modification times, access times, and file mode bits from the source file. HOT 1
- Test failure TestValidFileName
- ๐ How to solve the problem of failed installation of Croc? HOT 1
- Croc v10.0.10 failure to understand new syntax - issue receiving? [NOT A BUG] HOT 9
- Bash installer 404 error (unknown Linux file?) HOT 2
- Current instructions incorrect when using HOT 1
- croc.exe closes too fast to show any errors HOT 1
- room not ready HOT 6
- Croc won't send files HOT 2
- Cannot receive file on self hosted relay HOT 3
- When sending large files that fail transfer halfway through, croc goes through hashing process each time HOT 1
- long running croc instances lose connection to relay HOT 2
- Cannot receive files being sent from a linux machine HOT 10
- croc immediately exits with "Seek: invalid offset" when using imohash with certain files HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from croc.