use curl to get a .xls report saved locally

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
fruit811
TestLink user
Posts: 1
Joined: Sun Nov 22, 2015 10:57 am

use curl to get a .xls report saved locally

Post by fruit811 »

Hi I am trying to use a simple curl command to save a .xls report locally. This is the curl command that I use:

curl -k -D- -u username:password -o "FileName.xls" "host/testlink/lib/results/resultsGeneral.php?format=3&tplan_id=514373"

by simplying typing in the url i am able to download the test plan metrics in .xls, but the curl command doen't work. It returns http/1.1 200 OK but the connection: false.

Can anybody help? Thanks!
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: use curl to get a .xls report saved locally

Post by fman »

mantis is always a great place to do search => http://mantis.testlink.org/view.php?id=7053
Post Reply