Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream upload results in a 0b file #532

Open
solracsf opened this issue Feb 14, 2017 · 1 comment
Open

Stream upload results in a 0b file #532

solracsf opened this issue Feb 14, 2017 · 1 comment

Comments

@solracsf
Copy link

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 /Uploads

But it results in a zero bytes files on Amazon.

If i omit the | acdcli stream file.zip /Uploads part, file is correctly downloaded locally.

Is this an issue, am i doing it wrong or is this an expected behavior?

@bgemmill
Copy link

@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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants