Changeset db54939 in tol
- Timestamp:
- Jun 6, 2011, 7:33:30 PM (15 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- aa11632
- Parents:
- 9a7c7fa
- Location:
- tol/stdlib/general
- Files:
-
- 2 edited
-
grammars/_text.tol (modified) (1 diff)
-
system/CurlApi/CurlFunctions.tol (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol/stdlib/general/grammars/_text.tol
r9a7c7fa rdb54939 1217 1217 { 1218 1218 WriteLn("FAIL"); 1219 WriteLn( "[GetUrlContents.tcl.curl] error: "<<result1:: details,"W");1219 WriteLn( "[GetUrlContents.tcl.curl] error: "<<result1::explain,"W"); 1220 1220 "" 1221 1221 }, -
tol/stdlib/general/system/CurlApi/CurlFunctions.tol
r9a7c7fa rdb54939 43 43 Set result1 = CurlApi::GetUrl( [[ Text url = \"http://packages.tol-project.org/OfficialTolArchiveNetwork/repository.php?tol_package_version=1.1&tol_version=v2.0.1%20b.4&action=ping&key=658184943\", Real verbose=1, Real connecttimeout=3 ]] ); 44 44 If( result1::failStatus, { 45 WriteLn( \"CurlApi::GetUrl error: \"<<result1:: details)45 WriteLn( \"CurlApi::GetUrl error: \"<<result1::explain ) 46 46 }, { 47 47 WriteLn( \"CurlApi::GetUrl ok, the result is: \"<<result1::bodyData ) … … 51 51 Set result2 = CurlApi::GetUrl( [[ Text url = \"http://packages.tol-project.org/OfficialTolArchiveNetwork/repository.php?action=download&format=attachment&package=BysMcmc.4.4\", Text file=\"/tmp/BysMcmc.4.4.zip\", Real verbose=1, Real connecttimeout=3 ]] ); 52 52 If( result2::failStatus, { 53 WriteLn( \"CurlApi::GetUrl error: \"<<result2:: details)53 WriteLn( \"CurlApi::GetUrl error: \"<<result2::explain ) 54 54 }, { 55 55 WriteLn( \"CurlApi::GetUrl ok, the result was downloaded to: \"<<result2::file )
Note: See TracChangeset
for help on using the changeset viewer.
