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

use curl to get a .xls report saved locally

Postby fruit811 » Mon Nov 23, 2015 3:41 pm

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!
fruit811
TestLink user
 
Posts: 1
Joined: Sun Nov 22, 2015 10:57 am

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

Postby fman » Mon Nov 23, 2015 9:01 pm

mantis is always a great place to do search => http://mantis.testlink.org/view.php?id=7053
fman
Member of TestLink Community
 
Posts: 3051
Joined: Tue Nov 15, 2005 7:19 am


Return to TestLink 1.9



Who is online

Users browsing this forum: No registered users and 2 guests

cron