Stream upload results in a 0b file #532
Comments
bgemmill
commented
Feb 14, 2017
|
@acs-ferreira what happens if you use acdcli's fuse mount, and stream to a new file at the mounted location? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
acs-ferreira commentedFeb 14, 2017
I'm trying to stram a remote dwonload like this:
curl -O "https://remote.tld/file" -H "Host: remote.tld" -H "User-Agent: Mozilla/5.0" -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" -H "Accept-Language: fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3" --compressed -H "Cookie: SID=hPCemo4HnNa1Cp3GWfo7OfgPTyf5iGGXMsvY1djqXuPvQDSucb=CEb=kyVvSId5N" -H "Connection: keep-alive" -H "Upgrade-Insecure-Requests: 1" | acdcli stream file.zip /UploadsBut it results in a zero bytes files on Amazon.
If i omit the
| acdcli stream file.zip /Uploadspart, file is correctly downloaded locally.Is this an issue, am i doing it wrong or is this an expected behavior?