The latest complete universe results are too large to be encapsulated in a URI.
The PTS server responds:
The results I'm trying to upload are:
I also added 2 lines to report when an upload fails:
Edit: It should be pretty easy to use the code demoed here: http://netevil.org/blog/2006/nov/htt...p-without-curl to send the results encapsulated as POST data rather than GET data. You'd need to change the parser on PTS-Global to accept $_GET and $_POST variables though.
The PTS server responds:
414 Request-URI Too Large
I also added 2 lines to report when an upload fails:
Code:
diff --git a/pts-core/pts-run-cmd.php b/pts-core/pts-run-cmd.php index 7a945a3..1dfef0b 100644 --- a/pts-core/pts-run-cmd.php +++ b/pts-core/pts-run-cmd.php @@ -265,6 +265,8 @@ switch($COMMAND) if(!empty($upload_url)) echo "Results Uploaded To: " . $upload_url . "\n\n"; + else + echo "Error uploading results!\n\n"; break; case "REMOVE_ALL_RESULTS": $remove_all = pts_bool_question("Are you sure you wish to remove all saved results (Y/n)?", true);
Comment