1
Community Contributions / Dowload a particular version of a document or file using wget
« on: July 06, 2010, 09:16:25 am »
Hi,
In a tool flow, I use Feng Office to write documentation and then download the html file and pass it through a script to extract commands to development tools. I am playing with wget to do the download automatically from a Makefile before running the rest of the development tools.
In the revision list of the specification html document in FO I copy and paste the link from the download button of the document version I would like to download to wget on the command line:
wget -O "http://server/fengindex.php?c=files&a=download_revision&id=83" I also tried
wget -O "http://user:pass@server/fengindex.php?c=files&a=download_revision&id=83" but the html I download is only the code for the login screen.
Any idea what I do wrong?
Svenn
In a tool flow, I use Feng Office to write documentation and then download the html file and pass it through a script to extract commands to development tools. I am playing with wget to do the download automatically from a Makefile before running the rest of the development tools.
In the revision list of the specification html document in FO I copy and paste the link from the download button of the document version I would like to download to wget on the command line:
wget -O "http://server/fengindex.php?c=files&a=download_revision&id=83" I also tried
wget -O "http://user:pass@server/fengindex.php?c=files&a=download_revision&id=83" but the html I download is only the code for the login screen.
Any idea what I do wrong?
Svenn