I installed owncloud on the server!
How I can download shared file with link provided by WebUI from console with wget or curl ?
I tried to download from console with following commands, but this not successfully:
wget http://owncloud.example.com/public.php?service=files&t=par7fec5377a27f19654cd0e7623d883
wget http://owncloud.example.com/public.php?service=files&t=par7fec5377a27f19654cd0e7623d883
wget http://owncloud.example.com/public.php?service=files&t=par7fec5377a27f19654cd0e7623d883&download -O file.tar.gz
wget http://owncloud.example.com/public.php?service=files&t=par7fec5377a27f19654cd0e7623d883&download -O file.tar.gz
I can download this file from web browser succesfully.
We used Owncloud v. 7.0.4, setuped with chef cookbook https://github.com/onddo/owncloud-cookbook
Something like below worked for me.
wget --no-check-certificate "http://owncloud.example.com/public.php?service=files&t=par7fec5377a27f19654cd0e7623d883&download&path=//file.tar.gz"
Note double quotes around download link.
URL was "copied download link" from downloads in chrome.